<quote who="lohit"> > is this what you are looking for? > $count=1; > while(<INFILE>) { > print OUTFILE "=$count++= $_"; > }
It was more like perl -pi -e blah > > On Tue, 1 Mar 2005 11:23:44 -0000 (GMT), Gavin Henry <[EMAIL PROTECTED]> > wrote: >> Dear all, >> >> I remember reading how Randal puts the =1= =2= in front of each line of >> code on his site, but I can't find it again. >> >> Anyone remember? >> >> Thanks. >> >> -- >> Just getting into the best language ever... >> Fancy a [EMAIL PROTECTED] Just ask!!! >> >> -- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> <http://learn.perl.org/> <http://learn.perl.org/first-response> >> >> > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>