Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-Time-Out/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-Time-Out/README
NAME

Time::Out - Easily timeout long running operations

EXAMPLE

  use Time::Out qw( timeout );

  # time out the following code block after 5 seconds
  timeout 5 => sub {
    # do something that might take a long time...
  } ;
  if ( $@ ){
    # timeout occured...
  }

INSTALLATION

Your system must support alarm(2). To install this module manually, run the
following commands:

  perl Makefile.PL
  make
  make test
  make install

DOCUMENTATION

After the installation, you can find further documentation using the commands:

  perldoc Time::Out

MAINTENANCE

To maintain this module, run the following commands:

  perl Makefile.PL
  make PERL_CPANM_OPT="--notest --with-develop --with-recommends" installdeps 
  perl Makefile.PL
  make
  make RELEASE_TESTING=1 test
  make cover

The second command installs the module dependencies in a "local" directory
using "cpanm".

COPYRIGHT AND LICENSE

This software is copyright (c) 2005-2008 Patrick LeBoutillier, 2023 by Sven
Willenbuecher.

This is free software; you can redistribute it and/or modify it under the same
terms as the Perl 5 programming language system itself.

Hry