johnirl has asked for the wisdom of the Perl Monks concerning the following question:
This is the code I have at the moment
my $line = <DATA>; foreach ($line =~ /regex/){ Do stuff with $line; }
j o h n i r l .
Sum day soon I'Il lern how 2 spelI (nad tYpe)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Storing Regex Results
by hotshot (Prior) on Aug 20, 2002 at 09:21 UTC | |
by johnirl (Monk) on Aug 20, 2002 at 09:25 UTC |