Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Parsing hashes with variable structure

by frozenwithjoy (Curate)
on Nov 09, 2012 at 00:40 UTC ( #1003037=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if( exists $xml->{$usernumber}->{"user"}->{"firstname"} ) {...}
    
  2. or download this
    if( ref eq 'HASH' and exists $xml->{$usernumber}->{"user"}->{"firstnam
    +e"} ) {...}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-07-12 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls