Name

l

Synopsis

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.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.