This is because the open paren has a special meaning in regular expressions -- it tells Perl that you may want to talk about whatever ends up matching between the parens later. Because you want a literal paren, you need to escape it. Try s/\(/,(/;
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
In reply to Re: Easy one for my fellow Monks
by Chmrr
in thread Easy one for my fellow Monks
by ddrumguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |