in reply to Re: Re: Re: Re: While count ---don't see it
in thread While count ---don't see it
Also, the while loop also promises not to alter $count if $count is already higher than the number of elements in @processlist. So, I believe you would need this:
$count = @processlist unless ( $count > @processlist ); ## Or $count = $#processlist + 1 unless ( $count > ($#processlist + 1));
|
|---|