print "my hash value is '".$INST{DEV}->{dbhost}."'\n";
--- [EMAIL PROTECTED] wrote: > With this new structure, how would I dereference the > hash to return the text value instead of the hash > reference? > > use strict; > > my %INST= ( > DEV => { > fullname => "DEVELOPMENT", > dbhost => { "erpd3" => { > sshcon => "", > }, > }, > webhost => { "devapps1" => { > sshcon => "", > }, > }, > numweb => 1, > version => "8.1.7", > }, > ); > > print $INST{DEV}{dbhost}; > # returns HASH(0x2254cc) > > > > _______________________________________________ > Perl-Unix-Users mailing list > Perl-Unix-Users@listserv.ActiveState.com > To unsubscribe: > http://listserv.ActiveState.com/mailman/mysubs > 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