so far i'm finding that perl doesn't like it (syntax error style of dislike) - i'm having a hard time finding any official word from the docs or other sources as to whether or not this is specifically not possible or some alternate way of performing the same. any help appreciated!my $flags = 'i'; my $string = "this is a tEst"; if ( $string =~ m/text/$flags ) { print "this worked\n"; }
In reply to variable flags to match operator? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |