View on
MetaCPAN
Graham Knop > Module-Reader-0.001002 > Module::Reader

Download:
Module-Reader-0.001002.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.001002   Source   Latest Release: Module-Reader-0.003003

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.

syntax highlighting: