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.
This method doesn't return anything useful yet.
Takes 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.
Returns the filename given if it is a real file. Not very useful.