Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by Anonymous Monk
on Mar 26, 2013 at 08:49 UTC ( [id://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

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found