Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-07-25 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls