Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Use of uninitialized value in string

by c (Hermit)
on Aug 22, 2002 at 23:44 UTC ( #192219=note: print w/replies, xml ) Need Help??


in reply to Re: Use of uninitialized value in string
in thread Use of uninitialized value in string

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
Node Status?
node history
Node Type: note [id://192219]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-06-20 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (95 votes). Check out past polls.

    Notices?