Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Small examples of string eval

by brian_d_foy (Abbot)
on May 14, 2006 at 20:04 UTC ( #549355=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $answer = $expr->EvalTree( $tree, 0 );
    
    print "My answer is $answer\n";
    
  2. or download this
    58,59c58,59
    < my $HighestOperPrec = 15;
    ...
    -./*%+,<>\?:\(\);])@@) {
    480d478
    <       return $left **  $right if($oper eq '**');                    
    +                                                                     
    +                   
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2018-08-16 12:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (167 votes). Check out past polls.

    Notices?