Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
[LanX]: I told you the story about the “new" currency trading system of Dresdner Bank
[LanX]: ?
[Corion]: No, or I don't remember the story ;)
LanX my favourite don't tell me the proof of concept is good enough for production anecdote
[ambrus]: ah, it's one of thos
[Eily]: what, there's a difference between proof of concept and production?
[LanX]: 20 years ago traders were complaining about the latency of the trading system...
[ambrus]: I'm currently in the process of rewriting my proof of concept programs. They sort of developped organically as I was experimenting, so now I've got an ugly mess of multiple programs and one-liners held together by nothing. I'll have to rewrite them to som
[ambrus]: ething that's both cleanly organized and mostly automated.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2017-03-29 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (350 votes). Check out past polls.