Filter::NumberLines::Scratch - Source filter for Numbering lines (written from scratch).


Filter-NumberLines documentation  | view source Contained in the Filter-NumberLines distribution.

Index


NAME

Top

Filter::NumberLines::Scratch - Source filter for Numbering lines (written from scratch).

SYNOPSIS

Top

Just put use Filter::NumberLines::Scratch; at the top of your source file (below the shebang). It will automagically number your lines starting from the line after the use statement.

  use Filter::NumberLines::Scratch;

DESCRIPTION

Top

Filter::NumberLines::Scratch - Source filter for Numbering lines (written from scratch).

NOTE

Top

This module is used in the Source Filters in Perl talk I'm planning for YAPC::Eu 2.00.2 in Munich.

REQUIREMENTS

Top

Filter::NumberLines::Scratch has no dependencies

TODO

Top

Make number of digits in line number configurable.

DISCLAIMER

Top

This code is released under GPL (GNU Public License). More information can be found on http://www.gnu.org/copyleft/gpl.html

VERSION

Top

This is Filter::NumberLines::Scratch 0.02.

AUTHOR

Top

Hendrik Van Belleghem (beatnik -at- quickndirty -dot- org)

SEE ALSO

Top

GNU & GPL - http://www.gnu.org/copyleft/gpl.html

Filter::Util::Call - http://search.cpan.org/search?dist=Filter

Paul Marquess' article on Source Filters - http://www.samag.com/documents/s=1287/sam03030004/


Filter-NumberLines documentation  | view source Contained in the Filter-NumberLines distribution.