Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)

by Anonymous Monk
on Mar 26, 2013 at 08:49 UTC ( #1025466=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
in thread Incrementing "Infinity" bug

> We never needed that,
I showed a use case producing short, self-explanatory code with the use of inf.

But what has that got to do with the whack/hack 1e9999 ?

$ perl -le " print for 1 .. 0+'Inf'" Range iterator outside integer range at -e line 1.

sure, why not introducing one more level of cryptic workarounds to justify perl's reputation of a line-noise-language instead of having self explanatory constants?

you know, I linked to the docs, the explanation, and the inf constant exporters (bigrat/bigint )

perl is fundamentally what it is, and it works the way it has for over a decade, if you don't like it, don't use it; calling it line-noise and cryptic at every turn is uninspired and uninteresting

update:

well ... no comment on the fact of an AnoMonk who can update his nodes ...;-)

Boring :/


Comment on Re^5: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
Download Code
Re^6: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
by LanX (Canon) on Mar 26, 2013 at 11:47 UTC
    > perl is fundamentally what it is, and it works the way it has for over a decade, if you don't like it, don't use it; calling it line-noise and cryptic at every turn is uninspired and uninteresting

    good arguments for Perl 4.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      good arguments for Perl 4

      sure they're not

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2014-11-29 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (204 votes), past polls