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

RE: Adding 2 + 2

by mirod (Canon)
on Sep 11, 2000 at 21:43 UTC ( #31941=note: print w/ replies, xml ) Need Help??


in reply to Adding 2 + 2

unless( my $pid= open( STDOUT, "|-")) { while( <STDIN>) { chomp; s/(.*)/qq{$1}. "= " . eval($1) ."\n"/e; print; } exit; } print "2+2\n";


Comment on RE: Adding 2 + 2
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-03-29 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (628 votes), past polls