Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Iterating over second key in HoH defined by reference

by kcott (Archbishop)
on Apr 05, 2014 at 00:16 UTC ( [id://1081202]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    exists $uat_tid{$key}?print "$uat_tid{$key}\t":print "No UAT trans id\
    +t";
    
  2. or download this
    print exists $uat_tid{$key} ? $uat_tid{$key} : 'No UAT trans id', "\t"
    +;
    
  3. or download this
    exists $uat->{$key}{$inrole}?print "$uat->{$key}{$inrole}":for my $rol
    +e_key ( keys %{$uat->{$key} } )
        { print $role_key if $uat->{$key}{$role_key} eq $value};
    
  4. or download this
    if (exists $uat->{$key}{$inrole}) {
        print $uat->{$key}{$inrole};
    ...
            print $role_key if $uat->{$key}{$role_key} eq $value;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-18 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found