Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 lurking in the Monastery: (15)
As of 2014-12-19 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (86 votes), past polls