
Sub::Private - Private subroutines and methods

Version 0.01

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.

Peter Makholm, <peter at makholm.net>

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.


You can find documentation for this module with the perldoc command.
perldoc Sub::Private
You can also look for information at:


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.