Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
(?{ local $genus = ''; local $dbfound = 0; }) ^ (?: ([A-Z][A-Z]+) (?{ $genus = ucfirst(lc($^N)); $dbfound = dbilookup($genus); }) ) $ (?{ # # further processing of values # (give back values to container program) })
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex-codeblock calling subroutines?
by dave_the_m (Monsignor) on Oct 15, 2004 at 15:01 UTC | |
|
Re: regex-codeblock calling subroutines?
by dragonchild (Archbishop) on Oct 15, 2004 at 15:14 UTC | |
by Anonymous Monk on Oct 15, 2004 at 15:25 UTC | |
|
Re: regex-codeblock calling subroutines?
by perlcapt (Pilgrim) on Oct 15, 2004 at 18:26 UTC | |
|
Re: regex-codeblock calling subroutines?
by erix (Prior) on Oct 15, 2004 at 18:44 UTC | |
by diotalevi (Canon) on Oct 15, 2004 at 19:23 UTC | |
by erix (Prior) on Oct 15, 2004 at 19:31 UTC |