XP is just a number | |
PerlMonks |
numbering lines problemby WisDomSeeKer34 (Sexton) |
on Nov 19, 2014 at 13:41 UTC ( [id://1107756]=perlquestion: print w/replies, xml ) | Need Help?? |
WisDomSeeKer34 has asked for the wisdom of the Perl Monks concerning the following question:
I was advised to come here:
http://www.linuxquestions.org/questions/showthread.php?p=5271797#post5271797
This is the code: After running it: perl counting.pl python.txt I get the following error: Use of uninitialized value $_ in pattern match (m//) at counting.pl line 7. Use of uninitialized value $_ in pattern match (m//) at counting.pl line 8. Use of uninitialized value $_ in numeric ne (!=) at counting.pl line 8. etc. Purpose of the program is to line numbers according to chapter:
Back to
Seekers of Perl Wisdom
|
|