Module::MakefilePL::Parse 0.12
Sponsored Links
Module::MakefilePL::Parse 0.12 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
907
Date added:
2007-05-02
Publisher:
Robert Rothenberg
Module::MakefilePL::Parse 0.12 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.
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.
Module::MakefilePL::Parse 0.12 Screenshot
Advertisements
Module::MakefilePL::Parse 0.12 Keywords
MakefilePL
Makefile.PL
Parse 0.12
Perl module
module
required
modules
returns
parse
0.12
Module::MakefilePL::Parse
ModuleMakefilePLParse
Module::MakefilePL::Parse 0.12
Libraries
Programming
Bookmark Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse 0.12 Copyright
WareSeeker periodically updates pricing and software information of Module::MakefilePL::Parse 0.12 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Module::MakefilePL::Parse 0.12 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
neverwinter nights modules
high power red laser diode modules
modules.conf
memory modules
stoptailturn light bar modules
780wp of kyocera solar modules
powertrain control module
body control module
required immunizations
module master
lunar module
credit card required
makefile platform dependencies
module allows users
required minimum distribution table
makefile platform
required minimum distribution
module 4
Related Software
Audio::Cuefile::Parser is a Perl module for audio cuefile parser. Free Download
Inline::Filters Perl module contains common source code filters for Inline Modules. Free Download
ExtUtils::ModuleMaker is a Perl module better than h2xs for creating modules. Free Download
Module::AutoINC is a Perl module that can download and install CPAN/PPM modules upon first use. Free Download
Bundle::Bugzilla is a bundle of the modules required for Bugzilla. Free Download
Maaate is a set of libraries that enable audio signal analysis and feature calculation. Free Download
Glib::MakeHelper is a Perl module for Makefile.PL utilities for Glib-based extensions. Free Download
Module::Install is a standalone, extensible Perl module installer. Free Download
Latest Software
Popular Software
Favourite Software