Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Why won't this basic Parse::RecDescent example work?

by 7stud (Deacon)
on Jan 28, 2013 at 19:55 UTC ( [id://1015752]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict; 
    use warnings; 
    ...
    $VAR1 = {
              'dirs' => 1
            };
    
  2. or download this
    dir : 'hello'
         | 'world'
    
  3. or download this
    
    -->hello world<-- 
    $VAR1 = {
              'dirs' => 2
            };
    
  4. or download this
    
    
              print "-->@{$item{'dir(s)'}}<-- \n";
    $main::HASH{dirs} = @{$item{'dir(s)'}};
    
  5. or download this
    use strict; 
    use warnings; 
    ...
                        ]
            };
    
  6. or download this
    my $grammar = <<'END_OF_GRAMMAR';
        
    ...
    
    --output:--
    (blank)
    
  7. or download this
    my $grammar = <<'END_OF_GRAMMAR';
        
    ...
        }
    
    ...
    
  8. or download this
      my $grammar = <<'END_OF_GRAMMAR';
        
    ...
    --output:--
    Unknown starting rule (Parse::RecDescent::namespace000001::startrule) 
    +called
     at 3.pl line 76.
    
  9. or download this
    my $grammar = <<'END_OF_GRAMMAR';
        
    ...
    --output:--
    -->./hello<--
    -->hello/world<--
    
  10. or download this
    use strict; 
    use warnings; 
    ...
                               ]
            };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found