Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Multiple arrays in a hash

by ikegami (Patriarch)
on Jun 19, 2007 at 19:34 UTC ( [id://622086]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    foreach my $role (@roles) {
       print(join("\t", $role => sort @{$actors_by_role{$role}}), "\n");
    }
    
  2. or download this
    1       A       B
    2       A       B       C
    ...
    4       A
    5       A       B
    6       B
    
  3. or download this
    use strict;
    use warnings;
    ...
       }
       print("\n");
    }
    
  4. or download this
            A       B       C
    1       X       X
    ...
    4       X
    5       X       X
    6               X
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-23 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found