What is the recommended way to find out whether a hash key points to a scalar or a hash reference?
The ref function.
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
In reply to Re: What is the safest way to find out whether a hash key points to a scalar or a hash reference?
by Happy-the-monk
in thread What is the safest way to find out whether a hash key points to a scalar or a hash reference?
by tkguifan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |