Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: A hash of an array containing hashes & arrays

by Chmrr (Vicar)
on Aug 21, 2002 at 18:54 UTC ( #191834=note: print w/ replies, xml ) Need Help??


in reply to Re: A hash of an array containing hashes & arrays
in thread A hash of an array containing hashes & arrays

Your comment about ref is not quite correct. If used on a blessed object, it will return the package the object has been blessed into. Otherwise, it will simply return one of the built-in types as strings, that is, one of qw/SCALAR ARRAY HASH CODE REF GLOB LVALUE/ Thus, use of eq in this case is actually correct. See perldoc -f ref for more information.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: Re: A hash of an array containing hashes & arrays
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2015-07-29 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls