Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Perl Parsing Based on Supplied Precedence

by protist (Monk)
on Nov 05, 2012 at 15:40 UTC ( [id://1002349]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
            $node->{$op}=[parse($regex,$before),parse($regex,$after)];
            return $node;
    }
    
  2. or download this
    5+4*3&&COND||COND2||COND3&&ANOTHER
    
  3. or download this
    {
      '&&' => [
    ...
                'ANOTHER'
              ]
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found