in reply to
Line number problem with foreach
you mast do this open my $fh,"<test.txt" or die $!; while(<$fh>){ print "$.:$_"; }
Comment on
Re: Line number problem with foreach
In Section
Seekers of Perl Wisdom