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()'