Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Cisco SNMP CDP Poll

by jcoxen (Deacon)
on Jun 23, 2006 at 12:40 UTC ( #557159=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Cisco SNMP CDP Poll
in thread Cisco SNMP CDP Poll

Put stuff like the community string into a config file and load it as needed. I use Config::Tiny but there are a host of alternatives.

I put any variable that I may need in more than one program into a central system config file. That way, when community strings, passwords, file paths, etc. change, I only have to modify one file instead of twenty.

Hope this helps,

Jack


Comment on Re^3: Cisco SNMP CDP Poll

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-07-02 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls