Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
What is required in:$match = <STDIN>;
This does not appear to work?$_ =~ /$match/;
janitored by ybiC: Retitle from "regex" as one-word nodetitles hinder site searching, also minor format cleanup
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using a regex pattern from STDIN
by pbeckingham (Parson) on Jun 21, 2004 at 15:48 UTC | |
|
Re: Using a regex pattern from STDIN
by Limbic~Region (Chancellor) on Jun 21, 2004 at 15:53 UTC | |
by hmerrill (Friar) on Jun 21, 2004 at 18:30 UTC | |
by Limbic~Region (Chancellor) on Jun 21, 2004 at 19:44 UTC |