http://qs321.pair.com?node_id=503349

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

Hello Monks,

I'm trying to write this :

$var =~ s/\(//; $var =~ s/\)//;

in one line. I thought it'll be :

$var =~ s/[\(\)]//;

but this only remove the left one.

Thanks.

Have a nice day.