The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Module::Reader - Read the source of a module like perl does

SYNOPSIS

    use Module::Reader qw(:all);
    my $io = module_handle('My::Module');
    my $content = module_content('My::Module');

DESCRIPTION

Reads the content of perl modules the same way perl does. This includes reading modules available only by @INC hooks, or filtered through them.

EXPORTS

module_handle( $module_name )

Returns an IO handle to the given module.

module_content( $module_content )

Returns the content of the given module.

AUTHOR

haarg - Graham Knop (cpan:HAARG) <haarg@haarg.org>

CONTRIBUTORS

None yet.

COPYRIGHT

Copyright (c) 2013 the Module::Reader "AUTHOR" and "CONTRIBUTORS" as listed above.

LICENSE

This library is free software and may be distributed under the same terms as perl itself.