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>
-----------------
- Re: [MacPerl] Setting regex switch programmaticaly Giorgio Valoti
- Re: [MacPerl] Setting regex switch programmaticaly Bart Lateur
- Re: [MacPerl] Setting regex switch programmaticaly Chris Nandor
- Re: [MacPerl] Setting regex switch programmaticaly Ronald J Kimball
- Re: [MacPerl] Setting regex switch programmatica... Scott R. Godin
- Re: [MacPerl] Setting regex switch programmaticaly Giorgio Valoti
- Re: [MacPerl] Setting regex switch programmaticaly Bart Lateur
- Re: [MacPerl] Setting regex switch programmatica... Giorgio Valoti
- Re: [MacPerl] Setting regex switch programmatica... Chris Nandor
