C:\>perl -le "$SIG{ALRM}=sub{print'Hello'};alarm(2);sleep 4;print 'Don
+e.'"
Hello
Done.
C:\>perl -v
This is perl, v5.8.5 built for MSWin32-x86-multi-thread
Copyright 1987-2004, Larry Wall
Perl may be copied only under the terms of either the Artistic License
+ or the
GNU General Public License, which may be found in the Perl 5 source ki
+t.
Complete documentation for Perl, including FAQ lists, should be found
+on
this system using `man perl' or `perldoc perl'. If you have access to
+ the
Internet, point your browser at http://www.perl.com/, the Perl Home Pa
+ge.
|