Help from perl people?
John Oliver
john.oliver at hosting.com
Tue Aug 7 16:46:34 PDT 2001
Michael O'Keefe wrote:
> not used gdb b4 ?
Nope... not a programmer... :-)
> now print your variables...
>
> p $QUE_P_MIN
> p $QUE_P_OTHER
> p $UPTIME
> p $HOSTNAME
>
> the ones without anything in them are the ones that it is complaining about
> next thing...go thru the logic of your apps and find out WHY there is
> nothing in them, or give them a value up front at the start, some
> default value....
DB<2> p $QUE_P_MIN
Use of uninitialized value at (eval 6) line 2, <IN> chunk 3.
eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D
= $^D | $DB::db_stop;
print {$DB::OUT} $QUE_P_MIN;
;' called at /usr/lib/perl5/5.00503/perl5db.pl line 1239
DB::eval called at /usr/lib/perl5/5.00503/perl5db.pl line 1133
DB::DB called at /usr/local/mrtg/bin/ns.stat.pl line 156
main::HIST() called at /usr/local/mrtg/bin/ns.stat.pl line 159
DB<3> p $QUE_P_OTHER
Use of uninitialized value at (eval 7) line 2, <IN> chunk 4.
eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D
= $^D | $DB::db_stop;
print {$DB::OUT} $QUE_P_OTHER;
;' called at /usr/lib/perl5/5.00503/perl5db.pl line 1239
DB::eval called at /usr/lib/perl5/5.00503/perl5db.pl line 1133
DB::DB called at /usr/local/mrtg/bin/ns.stat.pl line 156
main::HIST() called at /usr/local/mrtg/bin/ns.stat.pl line 159
DB<4> p $UPTIME
Use of uninitialized value at (eval 8) line 2, <IN> chunk 5.
eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D
= $^D | $DB::db_stop;
print {$DB::OUT} $UPTIME;
;' called at /usr/lib/perl5/5.00503/perl5db.pl line 1239
DB::eval called at /usr/lib/perl5/5.00503/perl5db.pl line 1133
DB::DB called at /usr/local/mrtg/bin/ns.stat.pl line 156
main::HIST() called at /usr/local/mrtg/bin/ns.stat.pl line 159
DB<5> p $HOSTNAME
ns.mrtg-monitoring.net
I think I need some aspirin...
--
John Oliver
System Administrator
Hosting.com, an Allegiance Telecom company
Formerly CONNECTnet
mailto:john.oliver at hosting.com
t 858.638.2020
http://www.hosting.com/
More information about the KPLUG-List
mailing list