more useful options | |
PerlMonks |
Re: Perl script to find particular string and save those lines in another file?by aaron_baugher (Curate) |
on May 05, 2015 at 05:39 UTC ( [id://1125671]=note: print w/replies, xml ) | Need Help?? |
You need to open the output file before you write to it. Move the "open (NEW" line up above the loop that prints to it. Aaron B.
In Section
Seekers of Perl Wisdom
|
|