go ahead... be a heretic | |
PerlMonks |
Setting variable explicitly using Net::SNMP works, but assigning through another variable does notby c (Hermit) |
on Jul 08, 2002 at 13:03 UTC ( [id://180162]=perlquestion: print w/replies, xml ) | Need Help?? |
c has asked for the wisdom of the Perl Monks concerning the following question:
I am getting a peculiar error when using Net::SNMP and sending a community string to a remote device. [2 extra after iSEQ]C=private [asnlen? 26<32] (DF) I'm not sure what the 2 extra is referring to.The variable is being set via:
however, when I remove the entry from xml file and let the value be set explicitly, such as in...
All works well and the community is sent correctly. I've tried chop/chomping the $xml value to see if a newline might be causing the issue. My XML file is pretty straightforward since it is just for testing
My gut reaction is to think that there must be something wrong with the XML file, but I just dont see anything incorrect with it. Would there be something be conveyed though the XML variable that I am missing? thanks -c Edited: ~Mon Jul 8 15:49:33 2002 (GMT),
by footpad:
Back to
Seekers of Perl Wisdom
|
|