Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re4: Applying a RegEx in a variableby George_Sherston (Vicar) |
on Aug 10, 2001 at 19:16 UTC ( [id://103901]=note: print w/replies, xml ) | Need Help?? |
Hmm. I agree. It really would be mad to proliferate if / else statements to deal with all the different permutations of modifiers! Also agree with what you said earlier - eval is the way to go, but only if you don't need the dynamically scoped variables. I wonder if future perl releases will allow variables as modifiers - - that would make this problem (and others like it?) a lot easier. § George Sherston
In Section
Seekers of Perl Wisdom
|
|