Yup, it's a shell quoting problem. Switch up the quotes:
perl -pi -e"s/ where/' where/g" *.sql..works fine.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In reply to Re: Inserting a single-quote into a file
by Chmrr
in thread Inserting a single-quote into a file
by chuntoon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |