Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

can't use certain hashnames when traversing a slightly complex hash

by gideondsouza (Pilgrim)
on Jan 06, 2013 at 11:15 UTC ( [id://1011875]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $VAR1 = {
              'main.html' => {
    ...
                               'raw_url' => 'THIS IS WHAT I WANT'
                             }
    };
    
  2. or download this
    foreach my $g (@gists) {
            my @files = keys(%{$g->{files}});    
    ...
        print $g->{files}->{$file}->{raw_url};
            # ^^ THIS doesn't work!!!
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-03-28 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found