in reply to One-liner regex extraction
Put $match in list context by adding parens:
my ($match) = $text =~ /(stufftoextract)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: One-liner regex extraction
by Forsaken (Friar) on May 18, 2005 at 19:03 UTC | |
by holli (Abbot) on May 18, 2005 at 19:25 UTC | |
by Forsaken (Friar) on May 18, 2005 at 19:56 UTC |