Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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 (Canon)
on Feb 06, 2015 at 15:23 UTC ( [id://1115790]=note: print w/replies, xml ) Need Help??


in reply to What is the safest way to find out whether a hash key points to a scalar or a hash reference?

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)

  • Comment on Re: What is the safest way to find out whether a hash key points to a scalar or a hash reference?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1115790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found