perl search and replace in a file
kirksemail at gmail.com
Fri May 8 15:20:55 MDT 2009
I do not think the back ticks are bad if perl does not easily do it nativly.
This is something perl is excellent at.
I would not use back ticks here, I would write in in the script to do it.
With back ticks you are exiting to the command line to run a script in
the language your already running.
On Fri, May 8, 2009 at 3:17 PM, Doran L. Barton <fozz at iodynamics.com> wrote:
> Look at 'perldoc perlrun' to see what 'perl -pi' actually does.
> Doran L. Barton <fozz at iodynamics.com>
> *Sent from my Palm Centro smartphone*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
More information about the PLUG