Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re (tilly) 2: decimal placement

by tilly (Archbishop)
on Mar 26, 2001 at 04:54 UTC ( #67093=note: print w/ replies, xml ) Need Help??


in reply to Re: decimal placement
in thread decimal placement

This may be seriously unfair, but the two aspects of Perl's behaviour (to my eyes bugs) that I dislike most I learned tracking down bugs in Number::Format.

The first was the infamous "my $foo if 0;", the other is the fact that $_ is the same in all namespaces, so call a function in a map and it can wipe out your input array - even if the module is in another namespace.

Not bad for a module that I don't even use! (Co-workers discovered it and used it. Personally I would have been perfectly happy with what sprintf offers...)


Comment on Re (tilly) 2: decimal placement

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (16)
As of 2015-07-02 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls