| lualu | crunge: I need it to extract information from log files used by a PSTN terminal and then probably parse it to csv. |
| crunge | lualu: Learning Perl, Intermediate Perl, Programming Perl, Perl Best Practices |
| lualu | I know about the mods- but for example, i am wondering how to do things like stepping through the file (obviously a while (<>) loop) but also more- like, when I see a certain pattern, i want to read the next two or three lines, extract matches from the subset and then use that to parse into csv |
| crunge | lualu: you may also want to look at the Regex::Common module and related modules |
| dhar | lualu: sounds like you will need to master regex next |
| tombow | programming perl is a leave-it-next-to-the-toilet-in-case-of-constipation book |
| crunge | lualu: you familiar with finite state machines? |
| f00li5h | tombow: oh, rly? |
| tombow | ya rly |
| dhar | i reserve that spot for Motor Trend and Automobile magazines.. thats my brief escape from code during work hours |
| Jmax- | lualu: in that instance, one could load the contents of the file into an array, and then shift/unshift the array as necessary lualu: if the file is not too large, that is if it is, you'll need to use an iterating mechanism of some sort. there is probably such a module on CPAN |
| lualu | crunge: not really- but i remember coming across the term- don't know where though- probably on cpan...at this point i just need some sort of roadmap :P but anyway, so i'll follow on that crunge- as well as the regexp::common module. |
| Jmax- | or IO::File perhaps |
| crunge | lualu: Programming Perl is more of a reference than a "tutorial" type book |
| Jmax- | lualu: if you've read through learning perl and intermediate perl in full, i would recommend HOP and PBP perlbot hop |
| perlbot | Higher Order Perl, http://hop.perl.plover.com/ |
| lualu | any suggestions as to where i can find scripts that i can learn from? |
| crunge | I wouldn't recommend HOP if you still feel you're a beginner |
| f00li5h | lualu: ebay! |
| lualu | Jmax-: i've gone through learning perl- intermediate perl, not so much. that is the thing, fellas. getting a bit frustrated here. But then again, good things do take time, eh? |
| dhar | lualu: frequent perlmonks.org |
| crunge | lualu: the only way to really learn is to do different things |
| f00li5h | dhar: oh, that's a good idea |
| Jmax- | lualu: crunge is right; try using your newly acquired knowledge of perl in an actual application learn through doing :) |
| tombow | higher order perl is weak |
| lou_cal | Is the Win32::API documentation the complete listing of what you can do with it? I even took a look at the module and didn't see anything that seemed like it would interact with ram. I found this PDF quick reference with a lot more uses of Win32::API but still nothing about memory or ram. Anyone have any ideas, or can anyone tell me how to learn to learn better with the right place to look (have been googling) |
| f00li5h | lualu: yeah, just write something that you'd find useful, like an online cooking site |
| crunge | lualu: the tough part is finding a project that's challenging but within reach for your skill lvel |
| eMish | or javaPerl |
| rindolf | chickybabe20: well, there was someone there who said "chickybabe" a lot. |
| TeddyB | But thats only one of the problams.. the other problam is the size of the file (not script) |
| extintor | gtk2-perl ? |
| action | somian SO looks down on people who try to use a "hawt" nick to manipulate others into helping them. |
| somian | SO looks down on people who try to use a "hawt" nick to manipulate others into helping them. |
| extintor | somian: the question is rather, what is a chickybabe ? A female chicken is how interpret it... |
| somian^ | what? |
| ayrnieu | TeddyB - if your program does anything interesting, 5MB is nothing. Anyway, we can't help you without explanation on your part as to -why- you have a 5MB file. |