Sub::Private - Private subroutines and methods
Version 0.02
package Foo; use Sub::Private; sub foo :Private { return 42; } sub bar { return foo() + 1; }
This module provide a :Private attribute for subroutines. By using the attribut you get truly private methods.
:Private
Peter Makholm, <peter at makholm.net>
<peter at makholm.net>
Nigel Horne, <njh@bandman.co.uk>
<njh@bandman.co.uk>
Please report any bugs or feature requests to bug-sub-private at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sub-Private. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-sub-private at rt.cpan.org
namespace::clean
You can find documentation for this module with the perldoc command.
perldoc Sub::Private
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sub-Private
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Sub-Private
CPAN Ratings
http://cpanratings.perl.org/d/Sub-Private
Search CPAN
http://search.cpan.org/dist/Sub-Private
Copyright 2009 Peter Makholm, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Sub::Private, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sub::Private
CPAN shell
perl -MCPAN -e shell install Sub::Private
For more information on module installation, please visit the detailed CPAN module installation guide.