in reply to Using a regex pattern from STDIN
Cheers - L~Rmy $re = <STDIN>; chomp $re; $re = quotemeta $re; print "it worked" if $foo =~ /$re/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using a regex pattern from STDIN
by hmerrill (Friar) on Jun 21, 2004 at 18:30 UTC | |
by Limbic~Region (Chancellor) on Jun 21, 2004 at 19:44 UTC |