http://search.cpan.org/~jmm/Heap-0.80/lib/Heap.pm
http://search.cpan.org/CPAN/authors/id/J/JM/JMM/Heap-0.80.tar.gz
% perl Makefile.PL PREFIX=$HOME
% make
% make test
% make install # if you 'su' then
% make clean
% man stats
% export MANPATH=$HOME/man/:$MANPATH
% man -M $HOME/man Heap
% man --manpath=$HOME/man Heap
% man --manpath=$HOME/man AI::Pathfinding::AStar
% perl -e 'use lib "$ENV{HOME}/lib/site_perl"; use Heap;';
% perl -e 'use lib "$ENV{HOME}/lib/site_perl"; use AI::Pathfinding::AStar;'
http://www.perlhowto.com/extending_the_library_path
% export PERL5LIB=$HOME/lib/site_perl/
No comments:
Post a Comment