You need an else { die $@ } for your if ($@ eq "alarm\n") and you'd see that calling alarm on Win32 gives:
which prevents the rest of the evaled block from running.The Unsupported function alarm function is unimplemented at
In reply to Re: How can I execute "eval" command in WINDOWS 2000? (alarm)
by tye
in thread How can I execute "eval" command in WINDOWS 2000?
by pijush
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |