X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Singleton.git;a=blobdiff_plain;f=lib%2FMooseX%2FSingleton.pm;h=996bbbecfb162679fe4bdda50df8bd816ecd84bd;hp=7d00542886f64a4b6e2337cc45013be113f27f55;hb=e97ef8b2346f427ae65571187490cacd8324924e;hpb=0b3df90672d2c2eb62f71873c44219dea02816fa diff --git a/lib/MooseX/Singleton.pm b/lib/MooseX/Singleton.pm index 7d00542..996bbbe 100644 --- a/lib/MooseX/Singleton.pm +++ b/lib/MooseX/Singleton.pm @@ -97,6 +97,12 @@ the singleton object with the given arguments. This clears the existing singleton instance for the class. Obviously, this is meant for use only inside the class itself. +=head2 Singleton->new + +This method currently works like a hybrid of C and +C. However, calling C directly will probably be deprecated in a +future release. Instead, call C or C as appropriate. + =head1 BUGS Please report any bugs or feature requests to