From: Dave Rolsky Date: Fri, 25 Dec 2009 15:52:45 +0000 (-0600) Subject: Doc future deprecation of new X-Git-Tag: 0.22~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e97ef8b2346f427ae65571187490cacd8324924e;p=gitmo%2FMooseX-Singleton.git Doc future deprecation of new --- 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