print "Hello\n"; a(0, __LINE__); print "Middle\n"; a(1, __LINE__); print "Goodbye\n"; sub a { ($parameter, $line) = @_; if( $parameter ) { die "$line\n";}; }
In reply to Re: Perl debug. How do I find calling line number?
by Anonymous Monk
in thread Perl debug. How do I find calling line number?
by brycen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |