P is for Practical | |
PerlMonks |
Re: print failing to output anythingby castaway (Parson) |
on Nov 12, 2003 at 19:09 UTC ( [id://306601]=note: print w/replies, xml ) | Need Help?? |
Back to the task at hand...
Can you show us some sample input to this? If its not outputting anything, then clearly the input you're using isnt matching your regular expressions. Also, 2 of those print statement lines are incorrect, you are missing a space between the 'OUTFILE' and the actual output, which won't work as you intend. You should probably add a 'use warnings;' to the top of this, which will catch that error, and possibly some others as well. C.
In Section
Seekers of Perl Wisdom
|
|