/Aspect-0.983/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.983/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»