Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Parse::RecDescent matching same line twice

by ikegami (Pope)
on Mar 01, 2009 at 18:12 UTC ( #747329=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    text:      struct  {   int   foo   ;   int   bar   ;   }
               ------  -   ---   ---   -   ---   ---   -   -
    ...
                                  struct
               ---------------------------------------------
                                  parse
    
  2. or download this
    parse : foo1 foo2
          | bar1 bar2
    
  3. or download this
    use strict;
    use warnings;
    ...
    
    Parse::RecDescent->Precompile($grammar, 'Grammar')
       or die("Bad grammar\n");
    
  4. or download this
    use strict;
    use warnings;
    ...
    print("\n");
    
    print(Dumper($matches));
    
  5. or download this
    foo1
    bar1
    ...
                'Z'
              ]
            ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://747329]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2021-03-01 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?