in reply to
Display Line Numbers
Not really a perl question, more like an editor question. In vim, my editor of choice, type
:se nu
or put
se nu
in you ~/.vimrc file.
Depending on the editor, YMMV.
Or, more suavely but less practically, use
Filter::NumberLines
.
Code is (almost) always untested.
http://www.justicepoetic.net/
Comment on
Re: Display Line Numbers
Select
or
Download
Code
In Section
Seekers of Perl Wisdom