in reply to passing regular expression
For creating the regex object it helps to use the qr{...} quoting construct:
my $re = qr{^yikes}i; your_sub($re, $other, $arguments);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing regular expression
by karthikasasanka (Acolyte) on Oct 09, 2009 at 06:37 UTC | |
by moritz (Cardinal) on Oct 09, 2009 at 08:53 UTC |