Hi all,
perhaps it's a silly question but what I'd like to do is something like:

#
#pseudocode
#
my $switch = 'i';
if ($something =~ m/regex/$switch) {
...
}

I tried with eval and double quoting interpolation with no luck. Is
something like this possible?
TIA

--
Giorgio Valoti
Magnetic Media Network <http://www.magneticmedia.com>
-----------------




Reply via email to