Bradford Ritchie wrote:
Does this seem reasonable? This is my first attempt at this so please
let me know if I'm out of line.
yes it does - and not at all.
Its a good suggestion. The only concern is whackage to existing code
base...it really does make sense that the session setting, if present,
should trump the more general/global setting.
Wes or Rob or someone, do you think this blows any existing code?...
Relying on
$sess = new SNMP::Session( UseEnums => 0, ... )
not working when the global is set seems kind of broken...
On the side of leaving as-is however...if you want per session
behaviour, just don't set the global and only supply session settings
when desired...I guess the global could be seen just as a convenience to
avoid supplying UseEnums => 1 to everyone.
-GSM
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders