Acme-RunDoc
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Acme/RunDoc.pm view on Meta::CPAN
BEGIN {
$Acme::RunDoc::AUTHORITY = 'cpan:TOBYINK';
$Acme::RunDoc::VERSION = '0.002';
}
# 'undef' is Text::Extract::Word's default filter, and probably the only
# one that makes sense.
use constant FILTER => undef;
use Carp qw//;
use Data::Dumper qw//;
use File::Spec;
use IO::File;
use Text::Extract::Word;
use Module::Runtime qw//;
sub do
{
my ($class, $file) = _args(@_);
my $text = Text::Extract::Word->new($file)->get_body(FILTER)
or CORE::do { $! = 'cannot read file'; return undef };
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.372 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )