Kickstart has asked for the wisdom of the Perl Monks concerning the following question:
open(FH,"</usr/bin/perldoc"); undef $/; $_=<FH>; map (($f[$c]=$1,print "$f[$c]", $c++), m/t(.*?)e/, m/wri(.*?)en/);
Thanks!
Kickstart
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regexp map weirdness
by chipmunk (Parson) on May 12, 2001 at 06:21 UTC | |
|
Re: Regexp map weirdness
by Banky (Acolyte) on May 12, 2001 at 11:28 UTC | |
|
Re: Regexp map weirdness
by srawls (Friar) on May 13, 2001 at 04:03 UTC | |
by Hofmator (Curate) on Aug 02, 2001 at 21:44 UTC |