Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Scripting Failover Scenario

by kennethk (Abbot)
on Feb 26, 2014 at 22:16 UTC ( [id://1076318]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %parent = ( 
        europe => [qw|
                    london
    ...
                    algiers
                   |],
         );
    
  2. or download this
    sub fallover {
        my ($hash, $failure) = @_;
        my $list = delete($hash->{$failure}) or return;
    ...
            $i %= @targets;
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found