Yes, you're running without strict :)
In your SIGINT handler you are setting the variable $main::last. The loop queries the lecical $last.
Anno
Update: Sorry, scratch it all. I saw a "my" declaration in your code where there was none.
In reply to Re: Perl RPM upgrade breaks alarm() on SuSE-9.1-i386
by Anno
in thread Perl RPM upgrade breaks alarm() on SuSE-9.1-i386
by ndwg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |