We don't bite newbies here... much | |
PerlMonks |
Re^3: file header changeby Anonymous Monk |
on Feb 05, 2013 at 11:27 UTC ( [id://1017123]=note: print w/replies, xml ) | Need Help?? |
Um, wow, what tutorial are you reading? I suggest starting with perlintro , esp Files and I/O and Simple matching and
I also reccomend you read Tutorials: Context tutorial, because an array in scalar context returns the number of elements in the array -- not that you need an array for this task, because you don't, as all the examples above show Also download a copy of Modern Perl and use it as a reference and see also http://perl-tutorial.org/
In Section
Seekers of Perl Wisdom
|
|