in reply to background ftp transfers

# from perldoc perlipc eval { local $SIG{ALRM} = sub { die "alarm clock restart" }; alarm 10; # ftp op here alarm 0; }; if ($@ and $@ !~ /alarm clock restart/) { die }
but this won't make it a background task, just interruptable. oh, and if you're on a doze box alarm isn't implemented.
   larryk                                          
perl -le "s,,reverse killer,e,y,rifle,lycra,,print"

Replies are listed 'Best First'.
Re: Re: background ftp transfers
by zonem (Initiate) on Aug 10, 2001 at 16:20 UTC
    wow; i really should look through the documentation more extensively

    thanks! :)