How will I get the file name when I do an inline edit like this:

perl -i.orig -pe '$_ = <filename> $_' filename

How would I get the file name in <filename>?

Thanks,
Rex

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to