Juban, Nix said:
> ok, i tried in UNIX and got no more errors but it doesnt expire after 30
> seconds as expected.
By whom ;-)
> ##!/usr/intel/bin/perl -w
> use strict;
> use warnings;
>
> my $time_to_die=0;
> my $timeout=30; #in seconds
> my @e=qw(| \ - /);
> $SIG{ALRM} = sub { $time_to_die=1;
ok, i tried in UNIX and got no more errors
but it doesnt expire after 30 seconds as expected.
-Original Message-From: Timothy Johnson
[mailto:[EMAIL PROTECTED]]Sent: Thursday, November 28, 2002 3:38
PMTo: 'Juban, Nix'; '[EMAIL PROTECTED]'Subject: RE:
It looks like you tried to use the alarm
function on a Win32 machine. Like your error message says, the alarm()
function is not supported on your system.
-Original Message-From: Juban, Nix
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 27, 2002 8:49
PMTo: '[EMAIL PROTECT