Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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??


in reply to Re: printing an array with references in it
in thread printing an array with references in it

foreach my $sub_ref (keys %test_procs){ foreach(@procs){ print "$test_procs{$sub_ref}\n" if $sub_ref eq $_; } }

This could be:

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 taking refuge in the Monastery: (7)
As of 2024-04-19 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found