Pod::Eventual::Simple - just get an array of the stuff Pod::Eventual finds
version 0.094003
use Pod::Eventual::Simple; my $output = Pod::Eventual::Simple->read_file('awesome.pod');
This subclass just returns an array reference when you use the reading methods. The arrayref contains all the Pod events and non-Pod content. Non-Pod content is given as hashrefs like this:
{ type => 'nonpod', content => "This is just some text\n", start_line => 162, }
For just the POD events, grep for type not equals "nonpod"
type
This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.
Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.
Ricardo SIGNES <cpan@semiotic.systems>
This software is copyright (c) 2022 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pod::Eventual, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Eventual
CPAN shell
perl -MCPAN -e shell install Pod::Eventual
For more information on module installation, please visit the detailed CPAN module installation guide.