Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Process order

by davorg (Chancellor)
on Jun 09, 2006 at 11:50 UTC ( [id://554476]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %subs = (
      PR1 = \&process1,
    ...
      PR3 = \&process3,
      PR4 = \&process4,
    );
    
  2. or download this
    my @processes;
    
    foreach (sort { $po{$a} <=> $po{b} } keys %po) {
      push @processes, $_;
    }
    
  3. or download this
    foreach (sort { $po{$a} <=> $po{b} } keys %po) {
      push @processes, $subs{$_};
    }
    
  4. or download this
    foreach (@processes) {
      $input = $_->($input);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://554476]
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: (6)
As of 2024-04-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found