$|=0; print $|; $|=-1; print $|; $|++; print $|; $|++; print $|; prints: 0 1 1 1 [download]
In reply to Re: $ != 0 at start of script by runrig in thread $|= 0 at start of script by pileswasp