Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Dynamic expansion of tokens with Parse::RecDescent

by jaldhar (Vicar)
on Aug 18, 2004 at 20:31 UTC ( [id://384098]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    order: quantity color item
    quantity: /\d+/
    color: # what should this be?
    item: 'pen' | 'pencil'
    
  2. or download this
    my @colors = ('red', 'green', 'blue');
    
  3. or download this
    my @colors = ('cyan', 'magenta', 'burnt umber');
    
  4. or download this
    sub is_valid_color
    {
    ...
      }
      return undef;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://384098]
Approved by bart
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found