Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libguard-perl

Perl module providing safe cleanup using guard objects

Variants:
Guard is a Perl module implementing so-called "guards," which are things that "guard" a resource, ensuring that it is safely cleaned up when expected, even if exceptional conditions interrupt the normal control flow. This allows one to write code which executes an arbitrary code block or subroutine when either the related Guard Object is destroyed or when the current scope ends. In other languages, this sort of functionality is provided by the 'finally' keyword.
Homepage:
Package version:1.022-1+b1
Architecture:mipsel
Distribution:Debian
Filename:libguard-perl_1.022-1+b1_mipsel.deb

/usr/share/man/man3/Guard.3pm.gz

Guard(3pm)       User Contributed Perl Documentation      Guard(3pm)



NAME
       Guard - safe cleanup blocks

SYNOPSIS
          use Guard;

          # temporarily chdir to "/etc" directory, but make sure
          # to go back to "/" no matter how myfun exits:
          sub myfun {
             scope_guard { chdir "/" };
             chdir "/etc";

             code_that_might_die_or_does_oth
more»

/usr/share/doc/libguard-perl/changelog.Debian.gz

libguard-perl (1.022-1+b1) sid; urgency=low

  * Binary-only non-maintainer upload for mipsel; no source changes.
  * Rebuild against perl 5.14

 -- mipsel Build Daemon (rem) <buildd_mipsel-rem@buildd.debian.org>  Tue, 15 Nov 2011 08:59:12 +0000

libguard-perl (1.022-1) unstable; urgency=low  

  [ Jonathan Yu ]
  * New upstream release
    + Provides compatibility with older versions (Perl 5.8)
 
more»

/usr/share/doc/libguard-perl/changelog.gz

Revision history for Perl extension Guard

1.022 Sat Jul  2 02:38:21 CEST 2011
	- document how () after the function name overrides the
          prototype.
        - improve documentation, fix the examples.

1.021 Sun Jul 19 07:43:17 CEST 2009
	- try to provide compatibility to pre-5.8.8.

1.02 Sat Apr 11 06:42:06 CEST 2009
	- set NODEBUG on scope_guard, to work around -d: modules
          causi
more»

/usr/share/doc/libguard-perl/copyright

Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=13
more»

Browse inside libguard-perl_1.022-1+b1_mipsel.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libguard-perl_1.022-1+b1_mipsel.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com