Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Most useless function.

by Steve_p (Priest)
on Feb 17, 2006 at 14:09 UTC ( #530951=note: print w/ replies, xml ) Need Help??


in reply to Most useless function.

I wouldn't have thought it, but some fairly basic usage of not (as apposed to ! which worked just fine) caused core dumps from 5.6.0 through at least 5.8.5. Although technically an operator, the core dump went over five years without a single bug filed on not. Its ranking fairly high on the uselessness scale for me right now.


Comment on Re: Most useless function.
Select or Download Code
Replies are listed 'Best First'.
Re^2: Most useless function.
by ysth (Canon) on Feb 19, 2006 at 20:42 UTC
    What was the actual Perl code triggering the core dump?
      Actually, I was a bit wrong. It was actually a fairly useless use of not.
      perl -e 'not() || 1' perl -e 'die unless not()'

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2015-07-31 13:25 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 (277 votes), past polls