Help for this page
if (!defined($snmpsession)) { #whatever code here, doesn't matter }
sub muli_interface_snmp { my ($host,$community) = @_; ... # we got a good session to the active mgmt card return $snmpsession; }