That will let you see exactly in which circumstances you are getting undefined values and which values are undefined. Generally it's a good idea to check for definedness of values and either skip trying to print them or else substitute a default value.$ip = "No IP found" unless defined $ip; $duration = "No Duration found" unless defined $duration;
In reply to Re: Getting "uninitialized value" that I can't figure out...
by jZed
in thread Getting "uninitialized value" that I can't figure out...
by dguntner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |