Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

(jcwren) RE: Adding 2 + 2

by jcwren (Prior)
on Sep 11, 2000 at 07:38 UTC ( #31836=note: print w/replies, xml ) Need Help??

in reply to Adding 2 + 2

#!/usr/local/bin/perl -w use strict; { my $addy = "2 + 2"; print "Adding $addy = ", eval ($addy), "\n"; }
It's late, it's time for bed, and I couldn't make Inline work in 30 seconds, so I cheated...


e-mail jcwren

Replies are listed 'Best First'.
RE: (jcwren) RE: Adding 2 + 2
by merlyn (Sage) on Sep 11, 2000 at 07:44 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://31836]
[shmem]: no doubt, Lady_Aleena - maybe others, too. A whole barrel just for cookies would be too much for one person alone.
[Lady_Aleena]: shmem, I am a wine drinker. 8)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-04-26 10:15 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (471 votes). Check out past polls.