Perl Monk, Perl Meditation | |
PerlMonks |
Re: How to read a text file, extract a records that contains a string, export the result into a temporary fileby svenXY (Deacon) |
on Feb 14, 2008 at 09:35 UTC ( [id://667900]=note: print w/replies, xml ) | Need Help?? |
Hi, your example makes it harder as necessary... Besides, it does not actually do something. I'd assume it doesn't even compile properly. Here's a working example (opening/closing the logfile is here replaced by reading from the DATA handle):
Regards, svenXY
In Section
Seekers of Perl Wisdom
|
|