Makefile.PL

  • Perl-Skripte installieren
  • use strict;
    use warnings;
    #use 5.008006;
    use ExtUtils::MakeMaker;
    WriteMakefile(
        NAME              => 'aboutme',
        #VERSION_FROM      => 'lib/Foo/Bar.pm', # finds $VERSION
        #PREREQ_PM         => {}, # e.g., Module::Name => 1.1
        EXE_FILES         => [qw(scripts/aboutme)],
        #PL_FILES           => { 'scripts/move2dir.pl' => 'move2dir' },
    );     
  • http://search.cpan.org/~mschwern/ExtUtils-MakeMaker-6.56/lib/ExtUtils/Ma...
  • By default any file named *.PL (except Makefile.PL and Build.PL) in the top level directory will be assumed to be a Perl program and run passing its own basename in as an argument.

Klassifikation

Perl