Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 chilling in the Monastery: (5)
As of 2014-07-23 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (131 votes), past polls