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.
Back to
Seekers of Perl Wisdom