and this yielded a warning saying this was deprecated. So Is the "acceptable" way to see if there's any elements in my hash just to do:my %hash; ... #check to see if anything's in my hash... if (defined %hash) ...
It works fine. And it doesn't yield a warning. Just was curious... --Raymy %hash; ... #check to see if anything's in my hash... if (%hash) ...
In reply to if (defined %hash) deprecated by raybies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |