Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: (almost) foldl

by BrowserUk (Patriarch)
on Jun 08, 2011 at 21:34 UTC ( [id://908795]=note: print w/replies, xml ) Need Help??


in reply to Re^5: (almost) foldl
in thread (almost) foldl

The point is that '1e' is not a valid number in Perl, so your answer of 7 is at best flawed.

C:\test>perl -Mstrict -wE"say 0+'1e'" Argument "1e" isn't numeric in addition (+) at -e line 1. 1

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^7: (almost) foldl
by Grimy (Pilgrim) on Jun 08, 2011 at 21:40 UTC
    Never mind. You're right.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-26 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found