artist has asked for the wisdom of the Perl Monks concerning the following question:
I would like to know the value of some variable when the warning occurs when I run the program.
Here is one example..:
Use of uninitialized value in pattern match (m//) at subs.pl line 138, <IN> lin\ e 1061. Use of uninitialized value in numeric eq (==) at subs.pl line 139, <IN> line 10\Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: print if warn
by tye (Sage) on Jan 14, 2002 at 23:02 UTC | |
by artist (Parson) on Jan 15, 2002 at 00:18 UTC | |
|
Re: print if warn
by jonjacobmoon (Pilgrim) on Jan 14, 2002 at 22:47 UTC | |
|
Re: print if warn
by count0 (Friar) on Jan 14, 2002 at 22:48 UTC | |
|
Re: print if warn
by mkmcconn (Chaplain) on Jan 15, 2002 at 00:02 UTC | |
|
Re: print if warn
by metadoktor (Hermit) on Jan 15, 2002 at 00:05 UTC | |
|
Re: print if warn
by broquaint (Abbot) on Jan 14, 2002 at 22:55 UTC | |
|
Re: print if warn
by rbc (Curate) on Jan 15, 2002 at 00:11 UTC |