|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^2: perlby Random_Walk (Parson) |
| on Sep 03, 2004 at 07:49 UTC ( #388219=note: print w/ replies, xml ) | Need Help?? |
|
A slightly shorter version
perl -pe '$c++ unless /\S/}{$_=$c'
Cheers,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||