On Tue, Mar 01, 2005 at 08:51:58AM -0500, Wiggins d'Anconia wrote: > and I figure you can remove the assignment in the > below, but I am not sure how.... > > perl -p -e '$_ = "=$.= $_"' test.pl
Here's one way. perl -pe 's/^/=$.= /' test.pl -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>