Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Setting variable explicitly using Net::SNMP works, but assigning through another variable does not

by c (Hermit)
on Jul 08, 2002 at 13:03 UTC ( [id://180162]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ## set the v1/2c specific session traits
    $snmp_options{community} = $xml->{node}->{$args->{host}}->{snmp}->[0]-
    +>{community}->[0]
                            || $xml->{snmp}->[0]->{community}->[0];
    
  2. or download this
    ## set the v1/2c specific session traits
    $snmp_options{community} = $xml->{node}->{$args->{host}}->{snmp}->[0]-
    +>{community}->[0]
                            || $xml->{snmp}->[0]->{community}->[0]
                            || "private";
    
  3. or download this
    
    <global>
    ...
        </tftp>
      </node>
    </global>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found