http://www.perlmonks.org?node_id=1025466


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

Replies are listed 'Best First'.
Re^6: Incrementing "Infinity" bug (numification, perlnumber, magic increment decrement)
by LanX (Saint) 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