Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 taking refuge in the Monastery: (4)
As of 2018-10-17 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (92 votes). Check out past polls.

    Notices?