| grok documentation | view source | Contained in the grok distribution. |
App::Grok::Resource::File - Standard file resource for grok
use strict;
use warnings;
use App::Grok::Resource::File qw<:ALL>;
# this will return everything in $PERL6LIB sometime in the future
my @index = file_index();
# get a filehandle to the thing we want
my $handle = file_fetch('perlintro');
This resource finds arbitrary documentation on the filesystem.
file_indexThis method doesn't return anything useful yet.
file_fetchTakes a module name, program name, or Pod page name. Since the details of
$PERL6LIB are still fuzzy, it currently just returns the contents of
the supplied file.
file_locateReturns the filename given if it is a real file. Not very useful.
| grok documentation | view source | Contained in the grok distribution. |