Tk-Pod
view release on metacpan or search on metacpan
Pod/FindPods.pm view on Meta::CPAN
return $self->{pods};
}
}
return {};
}
return 1 if caller;
package main;
require Data::Dumper;
print Data::Dumper->Dumpxs([Tk::Pod::FindPods->new->pod_find(-categorized => 0, -usecache => 0)],[]);
__END__
=head2 Cache directory
By default the cache file is written to the directory
F<~/.tkpod_cache> (Unix systems), or the data directory as determined
by L<File::HomeDir> (Windows, MacOSX). If everything fails, then the
temporary directory (F</tmp> or the OS equivalent) is used.
If necessary, then the last path component will be created (that is,
F<.tkpod_cache> will be created if the directory does not exist).
To use another cache directory set the environment variable
L</TKPODCACHE>.
=head1 ENVIRONMENT
=over
=item TKPODCACHE
Use a custom cache file instead of a file in the L<cache directory|/Cache directory>.
The following placeholders are recognized:
=over
=item %v
The perl version.
=item %o
The OS (technically correct: the archname, which can include tokens
like "64int" or "thread").
=item %u
The user id.
=back
Example for using F</some/other/directory> for the cache file location:
TKPODCACHE=/some/other/directory/pods_%v_%o_%u; export TKPODCACHE
or
setenv TKPODCACHE /some/other/directory/pods_%v_%o_%u
depending on your shell (sh-like or csh-like).
=back
=head1 SEE ALSO
L<Tk::Tree>.
=head1 AUTHOR
Slaven ReziE<0x0107> <F<slaven@rezic.de>>
Copyright (c) 2001,2003,2004,2005,2007,2009 Slaven ReziE<0x0107>. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
( run in 1.244 second using v1.01-cache-2.11-cpan-59e3e3084b8 )