Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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.

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?
[stevieb]: Because of the extreme complexity of the testing code itself, I implemented extensive logging so I can troubleshoot much easier by setting a high debug level.
[stevieb]: if you're interested in the test/build backend, have a look at Test::BrewBuild.

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2017-04-28 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (529 votes). Check out past polls.