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

libautodie-perl

Perl pragma to make certain failures fatal

autodie is a Perl pragma that changes the behaviour of many built-in functions so that exceptions are thrown on failure rather than simply returning a false value. It understands lexical scope, meaning functions and subroutines altered with this module will only have this behaviour until the end of the enclosing eval, file or block, so it is useful when some code is out of your control.

By throwing exceptions on failure rather than simply returning false, programs are more robust and problems are easier to troubleshoot.

This module can also use IPC::System::Simple (see libipc-system-simple-perl) to do all the heavy lifting.

Homepage:
Package version:2.12-1
Architecture:all
Distribution:Debian
Filename:libautodie-perl_2.12-1_all.deb

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

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



NAME
       Fatal - Replace functions with equivalents which succeed or
       die

SYNOPSIS
           use Fatal qw(open close);

           open(my $fh, "<", $filename);  # No need to check errors!

           use File::Copy qw(move);
           use Fatal qw(move);

           move($file1, $file2); # No need to check errors!
more»

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

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



NAME
       autodie - Replace functions with ones that succeed or die
       with lexical scope

SYNOPSIS
           use autodie;            # Recommended: implies 'use autodie qw(:default)'

           use autodie qw(:all);   # Recommended more: defaults and system/exec.

           use autodie qw(open close);   # open/close 
more»

/usr/share/man/man3/autodie::exception.3pm.gz

autodie::exceptioUsermContributed Perl Documeautodie::exception(3pm)



NAME
       autodie::exception - Exceptions from autodying functions.

SYNOPSIS
           eval {
               use autodie;

               open(my $fh, '<', 'some_file.txt');

               ...
           };

           if (my $E = $@) {
               say "Ooops!  ",$E->caller," had problems: $@";
           }

DESCRIPTIO
more»

/usr/share/man/man3/autodie::exception::system.3pm.gz

autodie::exceptioUseryContributed Perautodie::exception::system(3pm)



NAME
       autodie::excepti
more»

/usr/share/man/man3/autodie::hints.3pm.gz

autodie::hints(3pUser Contributed Perl Documentatautodie::hints(3pm)



NAME
       autodie::hints -
more»

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

libautodie-perl (2.12-1) unstable; urgency=low

  * Imported Upstream version 2.12.
  * debian/copyr
more»

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

Revision history for autodie

2.12  Tue Jun 26 14:55:04 PDT 2012
        * BUGFIX: autodie now plays
more»

/usr/share/doc/libautodie-perl/copyright

Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: autodie
Ups
more»

Browse inside libautodie-perl_2.12-1_all.deb

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

Download libautodie-perl_2.12-1_all.deb

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