http://www.perlmonks.org?node_id=520485


in reply to Re: What one-liners do people actually use?
in thread What one-liners do people actually use?

Nice. ++

I use this for a static list:

perl -le 'print $!+0, "\t", $!++ for 0..127'
There are some other variations here.

--
John.