Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Parse::RecDescent matching same line twice

by ikegami (Patriarch)
on Mar 01, 2009 at 18:12 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://747329]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-24 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found