Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Use of uninitialized value in string

by tadman (Prior)
on Aug 22, 2002 at 22:42 UTC ( [id://192202]=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value in string

Just out of curiousity, what version of Perl?

Also, what happens when you do this:
use Data::Dumper; print Dumper($args);

Replies are listed 'Best First'.
Re: Re: Use of uninitialized value in string
by c (Hermit) on Aug 22, 2002 at 23:44 UTC
    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found