Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^6: (almost) foldl

by BrowserUk (Patriarch)
on Jun 08, 2011 at 21:34 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2022-12-07 08:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found