Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Each time the script is run, it says "Use of uninitialized value in addition (+) at script.pl line 47. How can this possibly be?my $num = 0; my $status_count = 0; my $status_goal = 0; sub actions { my ($dev, $ino, $mode, $nlink, $uid, $gid); (( $dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_)); $num++; $status_goal = $status_count + 2000; #47
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of uninitialized value
by The Mad Hatter (Priest) on Nov 07, 2004 at 03:37 UTC | |
by ikegami (Patriarch) on Nov 07, 2004 at 17:15 UTC | |
by rev_1318 (Chaplain) on Nov 07, 2004 at 22:25 UTC | |
|
Re: Use of uninitialized value
by pg (Canon) on Nov 07, 2004 at 03:03 UTC | |
by Anonymous Monk on Nov 07, 2004 at 03:08 UTC | |
by Anonymous Monk on Nov 07, 2004 at 03:37 UTC |