Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Parsing with perl - Regexes and beyond

by BrowserUk (Patriarch)
on Apr 03, 2008 at 08:51 UTC ( [id://678124]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
    1.1e10 ** -10
    1 + 2 * 3
    3 + 2 ** 2 ** 2 * 3
    
  2. or download this
    c:\test>expr_parser.pl
    '1 + 2' = 3
    ...
    '1 + 2 * 3' = 7
    '3 + 2 ** 2 ** 2 * 3' = 51
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found