Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Returning contents of subrules matches with Parse::RecDescent

by princepawn (Parson)
on Sep 29, 2000 at 04:03 UTC ( #34535=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    tuple        :     (number dot)(2) tuple_rest(s?)  { \@item }
    tuple_rest    :     number dot             { \@item }
    ...
    number    : /\d+/        { \@item }
    digit    : /[0-9]/    { \@item }
    dot    : '.'        { \@item }
    
  2. or download this
    
    #! /usr/local/bin/perl -ws
    ...
    
    __DATA__
    1.2.3.4.5
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://34535]
Approved by root
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-07-24 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.