Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 In reply to Re^3: Cisco SNMP CDP Poll
by jcoxen
|
|