Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Adding 2 + 2

by tobyink (Canon)
on May 24, 2012 at 08:15 UTC ( [id://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{http://gutenberg.net.au/ebooks01/0100021.txt}

(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'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2026-02-15 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.