Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Operator Precedence Parser

by bart (Canon)
on Jun 13, 2006 at 11:17 UTC ( #555004=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w
    use strict;
    ...
    print "Numerified with a=$var{a}: " . (0+$result) . "\n";
    $var{a} = 25;
    print "Numerified with a=$var{a}: " . (0+$result) . "\n";
    
  2. or download this
    Line 86 "a+sumsq(3,2+2)*sqrt(36)/2"
    Line 88 "a+sumsq(3,2+2)*sqrt(36)/2" value=a
    ...
    Stringified: sum(a, div(mul(sumsq(3, sum(2, 2)), sqrt(36)), 2))
    Numerified with a=101: 176
    Numerified with a=25: 100
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2014-12-22 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (132 votes), past polls