Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
There's more than one way to do things
 
PerlMonks  

Re^2: Pearls (not really) of Perl programming

by ikegami (Pope)
on Nov 25, 2004 at 18:01 UTC ( #410437=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $flow_id = $data{partners}{$part_id}{flow};
    for my $wfref (@{$data{flows}{$flow_id}}) {
        #...
    }
    
  2. or download this
    my $partner = $data{partners};
    my $flow_id = $partner->{$part_id}{flow};
    ...
    for my $wfref (@$flows_ref) {
        #...
    }
    
  3. or download this
    my $flow_id = $data{partners}{$part_id}{flow};
    my $flows_ref = $data{flows}{$flow_id}};
    for my $wfref (@$flows_ref) {
        #...
    }
    
  4. or download this
    Change %{$data{flows   }} to just %flows.
    Change %{$data{partners}} to just %partners.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2014-04-18 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (472 votes), past polls