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