summaryrefslogblamecommitdiff
path: root/devel/p5-Class-Default/pkg-descr
blob: bcc7d88ebad2277b2f7c39d43d46e2942203e8ae (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                      
                                               
Class::Default provides a mechanism to allow your class to take static
method calls and apply it to a default instantiation of an object.  It
provides a flexibility to an API that allows it to be used more
confortably in different situations.

This technique appears to be especially usefull when writing modules
that you want to be used in either a single use or a persistant
environment.  In a CGI like environment, you want the simplicity of a
static interface.  You can call Class-method> directly, without having
to pass an instantiation around constantly.

WWW: http://search.cpan.org/dist/Class-Default/