Module::Reader - Read the source of a module like perl does
use Module::Reader qw(:all); my $io = module_handle('My::Module'); my $content = module_content('My::Module');
Reads the content of perl modules the same way perl does. This includes reading modules available only by @INC hooks, or filtered through them.
@INC
Returns an IO handle to the given module.
Returns the content of the given module.
haarg - Graham Knop (cpan:HAARG) <haarg@haarg.org>
None yet.
Copyright (c) 2013 the Module::Reader "AUTHOR" and "CONTRIBUTORS" as listed above.
This library is free software and may be distributed under the same terms as perl itself.
To install Module::Reader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Reader
CPAN shell
perl -MCPAN -e shell install Module::Reader
For more information on module installation, please visit the detailed CPAN module installation guide.