NAME
Package::Aspect::Subroutine_Library - a civilized AUTOLOAD
SYNOPSIS
---8<--- perl file hello_world.pl ---8<---
use strict;
use warnings;
sub hello_world() {
print "Hello World.\n";
}
1;
---8<--- end of file ---8<---
---8<--- package file some/pkg.pm ---8<---
package some::pkg;
use Package::Aspect sub{eval shift};
Package::Aspect::reservation(
my $subroutine_library = '::Subroutine_Library');
...
hello_world();
---8<--- end of file ---8<---
WARNINGS
This is an experimental module. It hasn't been thoroughly tested, making the probability of fatal bugs quite high. The sole goal of the release is to document the current development.
DESCRIPTION
::Subroutine_Library provides subroutine autoloading from a library directory with perl subroutines stored in individual files.
KNOWN BUGS AND LIMITATIONS
This is the first public release.
AUTHOR
Winfried Trumper <pub+perl(a)wt.tuxomania.net>
COPYRIGHT AND LICENSE
Copyright (C) 2011 Winfried Trumper
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.