Alien has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Parse::RecDescent; my $grammar = q( START: numbers numbers: number(s) number:/\d+/ { print "found a number"; } ); Parse::RecDescent->new($grammar)->START("123 foo 345 bar");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: My issues with Parse::RecDescent
by JadeNB (Chaplain) on Aug 26, 2008 at 19:53 UTC | |
by Alien (Monk) on Aug 26, 2008 at 20:05 UTC | |
by Anonymous Monk on Aug 26, 2008 at 20:15 UTC | |
by Anonymous Monk on Aug 26, 2008 at 20:17 UTC | |
by Alien (Monk) on Aug 26, 2008 at 20:19 UTC | |
|
Re: My issues with Parse::RecDescent
by JavaFan (Canon) on Aug 26, 2008 at 19:57 UTC |