Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Adding 2 + 2

by tobyink (Abbot)
on May 24, 2012 at 08:15 UTC ( #972200=note: print w/ replies, xml ) Need Help??

in reply to Adding 2 + 2

This one appears to suffer from an off-by-one bug...

use Modern::Perl; use List::Util qw(first); use LWP::Simple qw(get); say for first {/^2\+2/} split m{\r?\n|\r}, get q{}

(And monks outside of the Australian branch of the monastery need to be aware of potential copyright issues.)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Comment on Re: Adding 2 + 2
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-27 01:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (712 votes), past polls