I think this is what you're trying to do....

But I'm not sure why? I'd only do this if you are
expecting to have multiple configs for dbhost, e.g.
devdb1, devdb2, devdb3... otherwise I'm not sure why
you'd break down the structure this much...


   DEV => {
        fullname    => "DEVELOPMENT",
        dbhost      => {
                       "devdb" => {
                                        sshcon    => "",
                      },
        webhost     => {
                       "devapp" => {
                                sshcon    => "",
                      },
        numweb      => 1,
        version     => "8.1.7",
   },


my $sshconn =
$INST{$server}->{$serv_type}->{$serv_req}->{sshcon};


Regards

Marty
 

Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to