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

Aspect-0.92.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Aspect-0.92.tar.gz

/Aspect-0.92/README

NAME
    Aspect - Aspect-Oriented Programming (AOP) for Perl

SYNOPSIS
      package Person;
      
  sub create {
          # ...
      }
      
  sub set_name {
          # ...
      }
      
  sub get_address {
          # ...
      }
      
  package main;
      
  use Aspect;
      
  ### USING REUSABLE ASPECTS
      
  # There can only be one.
      aspect Singleton => 'Person::create';
    
more»

/Aspect-0.92/examples/Singleton/README

                    Singleton Example
                    =================

An example of using the singleton aspect. Shows how an AOP solution
requires less code, and suffers from less EEK, compared with an OOP
solution.


oop.pl - we want to make sure users create only one printer, per Perl
         interperter. And we don't want to pass it around in argument
         lists all over the place. 
more»

/Aspect-0.92/examples/Wormhole/README

                    Wormhole Example
                    ================

An example of using the wormhole aspect. Shows how the design degrades
when a feature is added, and how refactoring to aspects improves the
design.


before.pl -    the initial design. Our company prints documents. We have
               the classes Printer, SpamPrintJob, and SpamDocument. To
               print a job you 
more»

/Aspect-0.92/Changes

Revision history for Perl extension Aspect

0.92 Wed 21 Jul 2010
	- Correcting bad link to search.cp
more»

/Aspect-0.92/LICENSE

Terms of Perl itself

a) the GNU General Public License as published by the Free
   Software Founda
more»

Browse inside Aspect-0.92.tar.gz

         [DIR]Aspect-0.92/ (11)

Download Aspect-0.92.tar.gz

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