CC: | book [...] cpan.org |
Subject: | Deprecate ->new() |
The new() method should be deprecated because:
- BooK already exists
- There can be only one instance of BooK
- BooK is old, not new
- BooK is not subclassable
- all current methods are class methods, not object methods so this will
not affect existing code
The modified new() implementation would be:
sub new {
shift
}
--
Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/