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

Patterns-UndefObject-0.002.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Patterns-UndefObject-0.002.tar.gz

/Patterns-UndefObject-0.002/README


This archive contains the distribution Patterns-UndefObject,
version 0.002:

  A version of the undefined object (null object) pattern

This software is copyright (c) 2012 by John Napiorkowski.

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



/Patterns-UndefObject-0.002/README.md

# NAME

Patterns::UndefObject - A version of the undefined object (null object) pattern

# SYNOPSIS

    use Patterns::UndefObject 'Maybe';

    my $name = Maybe($user_rs->find(100))->name
      || 'Unknown Username';



# DESCRIPTION

Sometimes when you are calling methods on a object you can't be sure that a
particular call chain is going to be valid.  For example, if you are using
something lik
more»

/Patterns-UndefObject-0.002/Changes

This file documents the revision history for Perl extension Patterns-UndefObject.

0.002   01 August 2012	
        - Added missing change file
        - documentation updates, include a caveats / warning section
        - reduced the number of methods in the class to lower the risk of 
          namespace collision.
        - Changed the way the 'maybe' method works so that we improve DWIM
       
more»

/Patterns-UndefObject-0.002/LICENSE

This software is copyright (c) 2012 by John Napiorkowski.

This is free software; you can redistribu
more»

Browse inside Patterns-UndefObject-0.002.tar.gz

         [DIR]Patterns-UndefObject-0.002/ (10)

Download Patterns-UndefObject-0.002.tar.gz

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