Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: HChapter 6
Debugging
Next: Reference: L
 

l

l [linespec]

If linespec is omitted, lists the next few lines. Otherwise lists the lines specified by linespec, which can be one of the following:

line

Lists the single line line.

min+incr

Lists incr+1 lines starting at min.

min-max

Lists lines min through max.

subname

Lists the first few lines from subroutine subname.

Also see the w and - commands.


Previous: Reference: HPerl in a NutshellNext: Reference: L
Reference: HBook IndexReference: L