EPublisher::Utils::PPI - PPI utility for EPublisher
version 1.21
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 );
This module provides some functions to retrieve information about modules and/or perl files. It uses PPI to analyze those files.
Get Pod documentation from file.
Get the documentation of a piece of code...
Get the namespace name of a package
Copyright 2010 Renee Baecker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms of Artistic License 2.0.
Renee Baecker (<module@renee-baecker.de>)
Renee Baecker <module@renee-baecker.de>
This software is Copyright (c) 2015 by Renee Baecker.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install EPublisher, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EPublisher
CPAN shell
perl -MCPAN -e shell install EPublisher
For more information on module installation, please visit the detailed CPAN module installation guide.