http://www.perlmonks.org?node_id=435456


in reply to Re: Perl oddities
in thread Perl oddities

I also find this artifact useless, but a saving grace is that you can at least say:
if (%hash) { # it's not empty }
even though the string "0/8" evaluates to true.

Replies are listed 'Best First'.
Re^3: Perl oddities
by mojotoad (Monsignor) on Mar 02, 2005 at 21:12 UTC