Frank Schönmann: Modul installieren

Beitrag lesen

hi!

Wie geht das ? Ich hab dass bis jetzt in keinem Tutorial gefunden
?!?

Siehe perldoc -q lib bzw. perldoc perlfaq8: "How do I keep my own
module/library directory?".

=== cut ===
    When you build modules, use the PREFIX option when generating
    Makefiles:

perl Makefile.PL PREFIX=/u/mydir/perl

then either set the PERL5LIB environment variable before you run
    scripts that use the modules/libraries (see the perlrun manpage)
    or say

use lib '/u/mydir/perl';

This is almost the same as

BEGIN {
            unshift(@INC, '/u/mydir/perl');
        }

except that the lib module checks for machine-dependent
    subdirectories. See Perl's the lib manpage for more information.
=== cut ===

bye, Frank!