Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
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 taking refuge in the Monastery: (11)
As of 2014-09-18 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls