http://qs1969.pair.com?node_id=511903

perlknight has asked for the wisdom of the Perl Monks concerning the following question:

all, this ran fined locally:
perl -ibkup -ne '{ s/192.168.10.55/db1.abc.com/g; print "$_\n";}' tnsn +ames.ora
But it bails out on ssh, like so:
ssh -lroot somehost "perl -ibkup -ne '{ s/192.168.10.55/db1.abc.com/g; + print \"$_\n\";}' tnsnames.ora"
Any idea why? Thanks.