I'm using 5.6.1. and Dumper (doh! i forgot about what a great tool this is!) shows:
$VAR1 = {
'path' => '',
'desc' => 'Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.0(7)T, RELEASE SOFTWA
+RE (fc2)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Tue 07-Dec-99 02:12 by phanguye',
'utftp' => 'TFTP.LUNARMEDIA.LAB,
'host' => 'ROUTER',
'tftp' => '10.12.71.130',
'src' => 'commit',
'file' => 'router.cfg',
'err' => ''
};
Oddly, this is what I believe that it *should* be returning. the Net::SNMP docs show that error() will return empty if there is no error found. Does this output make more sense for anyone else? It just seems to validate the confusion for me.
Thanks VERY much -c
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|