Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: printing an array with references in it

by yosefm (Friar)
on Jun 30, 2003 at 15:12 UTC ( [id://270187]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $sub_ref (keys %test_procs){
         foreach(@procs){
              print "$test_procs{$sub_ref}\n" if $sub_ref eq $_;
         }
    }
    
  2. or download this
    foreach(@procs){
         print "$test_procs{$_}\n" if $test_procs{$_}; #If it's defined.
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found