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

libautovivification-perl

Perl module to lexically disable autovivification

Variants:
When an undefined variable is dereferenced, it gets silently upgraded to an array or hash reference (depending of the type of the dereferencing). This behaviour is called autovivification and usually does what you mean (e.g. when you store a value) but it's sometimes unnatural or surprising because your variables gets populated behind your back. This is especially true when several levels of dereferencing are involved, in which case all levels are vivified up to the last, or when it happens in intuitively read-only constructs like exists.

This pragma lets you disable autovivification for some constructs and optionally throws a warning or an error when it would have happened.

Homepage:
Package version:0.06-1
Architecture:amd64
Distribution:Debian
Filename:libautovivification-perl_0.06-1_amd64.deb

/usr/share/doc/libautovivification-perl/README.gz

NAME
    autovivification - Lexically disable autovivification.

VERSION
    Version 0.06

SYNOPSIS
        no autovivification;

        my $hashref;

        my $a = $hashref->{key_a};       # $hashref stays undef

        if (exists $hashref->{option}) { # Still undef
         ...
        }

        delete $hashref->{old};          # Still undef again

        $hashref->{new} = $value;        #
more»

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

autovivification(User Contributed Perl Documentautovivification(3pm)



NAME
       autovivification - Lexically disable autovivification.

VERSION
       Version 0.06

SYNOPSIS
           no autovivification;

           my $hashref;

           my $a = $hashref->{key_a};       # $hashref stays undef

           if (exists $hashref->{option}) { # Still undef
            ...
           }

        
more»

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

libautovivification-perl (0.06-1) unstable; urgency=low

  * Take over for the Debian Perl Group
  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
    field (source stanza). Changed: Maintainer set to Debian Perl Group
    <pkg-perl-maintainers@lists.alioth.debian.org> (was: Ivan Kohler
    <ivan-debian@420.am>); Ivan Kohler <ivan-debian@420.am> moved to
    Uploaders.
  * New 
more»

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

Revision history for autovivification

0.06    2010-04-24 17:40 UTC
        + Add : The A_THREADSAFE
more»

/usr/share/doc/libautovivification-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libautovivification-perl_0.06-1_amd64.deb

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

Download libautovivification-perl_0.06-1_amd64.deb

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