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::Utils::PPI - PPI utility for EPublisher

VERSION

version 1.27

SYNOPSIS

use EPublisher::Utils::PPI qw(extract_pod extract_pod_from_code);

my $file = '/usr/local/share/perl/5.12.1/CGI.pm';
my $pod  = extract_pod( $file );

my $code = <<PERL;
sub test {
}

=head1 METHODS

=head2 test

Docs for subroutine "test"
PERL

my $pod_from_code = extract_pod_from_code( $code );

DESCRIPTION

This module provides some functions to retrieve information about modules and/or perl files. It uses PPI to analyze those files.

METHODS

extract_pod

Get Pod documentation from file.

extract_pod_from_code

Get the documentation of a piece of code...

extract_package

Get the namespace name of a package

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)