perl -e 'my %x=(); print scalar %x' 0
but then, this caused me pause:
perl -e 'my %x=undef; print scalar %x' 1/8
In reply to Re: How to test for empty hash?
by perlfan
in thread How to test for empty hash?
by scareduck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |