TonyGroves
Programmer
Does anybody know how to get the current Perl source file line number?
Thanks.
Thanks.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#!/usr/bin/perl -w
$foo=6;
if ($foo gt 5){
print "It works\n"; warn " ";
}
OUTPUT
--------
It works
at - line 3.
use CGI::Carp qw /fatalsToBrowser/;
{...
Block1
...} warn "completed block 1";
...
LOL!you can use __LINE__ but nobody here, including me, knows what you want to do.