[Perl] using single quote (') in perl one liner
gabor at tracert.com
Wed Nov 20 05:05:34 PST 2002
On Wed, 20 Nov 2002, Offer Kaye wrote:
> I wonder if anyone can tell me why the order of the flags matters, or where
> is says what the correct order is - I search through "perldoc perlrun", but
> couldn't come up with anything.
In the examples of perldoc perlrun they are always in the -pi order.
Actually -i can have a parameter which is used to backup you original file
when you do the inplace editing so you could write
-pi.bak and you would get a backup of your original file with and
additional .bak extension.
More information about the Perl