Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Beside the fact of $. not resetting explained by choroba you can try wrapping the division into an eval {} block and if $@ is set print the line number and the value. i dunno how to print the current filename relative to the current value of the handle ARGV
L* update i dunno why now runs with the proper close of ARGV : you have bad data before line 45? is the only reasonable possibility L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS. In reply to Re: Process multiple input files using a one-liner
by Discipulus
|
|