NAME
B::CodeLines - Lists executable lines of a Perl program
SYNOPSIS
perl -MO=CodeLines foo.pl
perl -MO=CodeLines,-exec -e '# string exec form
$your="Perl code";
goes("here");
'
DESCRIPTION
This compiler backend prints the out the line numbers of the stopping
points of a Perl program. It might be used for example for static
analysis to see of all lines have been executed, or in a when debugger
breakpoint is requested (and other ways to get stopping points fails).
EXAMPLE
For the second example above, the output is:
2
3
-e syntax OK
AUTHOR Rocky Bernstein, <rocky@cpan.org>.
COPYRIGHT & LICENSE
Copyright (c) 2012 Rocky Bernstein.
LICENSE
Same terms as Perl.