faure has asked for the wisdom of the Perl Monks concerning the following question:
output:#!/usr/bin/perl5.005 use strict; use re 'eval'; for (("a", "b", "c")) { m# (\w) (?{ print $1 }) #ox; print "\n---\n"; }
Any insight would be appreciated... (& you could save the life of a beautiful reg-ex!)--- b --- c ---
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use re 'eval'
by wine (Scribe) on Jul 21, 2001 at 23:19 UTC | |
by Anonymous Monk on Jul 22, 2001 at 00:08 UTC | |
Re: use re 'eval'
by Dominus (Parson) on Jul 22, 2001 at 06:40 UTC | |
Re: use re 'eval'
by coolmichael (Deacon) on Jul 22, 2001 at 05:40 UTC | |
Re: use re 'eval'
by SparkeyG (Curate) on Jul 21, 2001 at 22:48 UTC |