J
Joe
All,
Is there a special variable for current line number as the script
runs?
Using this for debugging as script is executed..
maybe append this with "die" or "warn" to give me a line number.
ex.
#########
/usr/bin/perl -w
use strict;
my $line = "<some magic variable>";
print " CURRENT LINE: \"$line\"\n";
exit;
#########
Joe
Is there a special variable for current line number as the script
runs?
Using this for debugging as script is executed..
maybe append this with "die" or "warn" to give me a line number.
ex.
#########
/usr/bin/perl -w
use strict;
my $line = "<some magic variable>";
print " CURRENT LINE: \"$line\"\n";
exit;
#########
Joe