The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

EPublisher::Source::Plugin::Module - Module source plugin

VERSION

version 1.27

SYNOPSIS

my $source_options = { type => 'Module', name => 'CGI', lib => [qw(/lib)] };
my $module_source  = EPublisher::Source->new( $source_options );
my $pod            = $module_source->load_source;

NAME

EPublisher::Source::Plugin::Module - Module source plugin

VERSION

version 0.4

METHODS

load_source

my $pod = $module_source->load_source;

reads the module

{
  pod      => $pod_document,
  filename => $file,
  title    => $title,
}

$pod_document is the complete pod documentation that was found in the file. $file is the name of the file (without path) and $title is the title of the pod documentation. By default it is the module name, but you can say "title => 'pod'" in the configuration. The title is the first value for =head1 in the pod.

AUTHOR

Renee Baecker <module@renee-baecker.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Renee Baecker.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)