Welcome to the Monastery | |
PerlMonks |
Re: working with filesby bronto (Priest) |
on Sep 03, 2004 at 10:54 UTC ( [id://388243]=note: print w/replies, xml ) | Need Help?? |
perl -ne 'print "output: $_" if /^\@/' filename
Ciao! The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
In Section
Seekers of Perl Wisdom
|
|