Module::MakefilePL::Parse

Description

Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", <$fh>) ); $info = $parser->required; The purpose of this module is to determine the required modules for older CPAN distributions which do not have META.yml files but use Makefile.PL and ExtUtils::MakeMaker or Module::Install. Presumably newer style Makefile.PL files which use Module::Install or Module::Build already have META.yml files in their distributions. Methods new $parser = new Modile::MakefilePL::Parse( $script ); Parses a Makefile.PL script and returns an object. Returns undef if there is a problem. required $info = $parser->required; Returns a hash reference containing the prerequisite modules. This is either the the PREREQ_PM key, or a combination of prerequisites specified in requires and build_requires calls in the Makefile.PL script (depending on the "install_type"). install_type $module = $parser->install_type; Returns the module used for installation. CAVEATS This module does evaluate a portion of the code, so there is a security issue. However, it only evaluates the definition of the PREREQ_PM key in calls to WriteMakefile, which should be more difficult to embed malware in. Do not run this module on untrusted scripts..

Makefilepl - Makefile Pl - Modulemakefileplparse - Perl Module - Module - Required - Modules - Returns - Parse - Libraries - Programming

Published By:Robert Rothenberg

License Type:Freeware

Date Added:25 October, 2010

Version:0.12

Price:Free

Downloads:24

Size:8.2 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

XAO::Web is a part of XAO open source web services suite. It allows to build dynamic web content using data, templates and external input.

DateOct 11, 2010

AuthorAndrew Maltsev

Size112.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

ExtUtils::AutoInstall is a Perl module to automatic install of dependencies via CPAN. SYNOPSIS In Makefile.

DateAug 8, 2010

AuthorAutrijus Tang

Size26.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

Rosetta::SeeAlso is a Perl module that contains external resources that you really ought to look at.

DateNov 2, 2010

AuthorDarren R. Duncan

Size86.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

OpenPlugin is a Plugin manager for web applications. There are many web application frameworks out there, and each seems to haveits own method of handling sessions, user authentication, datasourcemanagement, logging, etc.

DateOct 4, 2010

AuthorEric Andreychek

Size82.9 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Net::FTP is a FTP Client class. Net::FTP is a class implementing a simple FTP client in Perl as described in RFC959. It provides wrappers for a subset of the RFC959 commands. FTP stands for File Transfer Protocol.

DateOct 15, 2010

AuthorGraham Barr

Size64.5 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet