-
-
16 Feb 2021 04:10:04 UTC
- Distribution: Business-ISBN-Data
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1576 / 0 / 0)
- Kwalitee
Bus factor: 1- 75.00% Coverage
- License: artistic_2
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (28.35KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Carp
- File::Basename
- File::Spec::Functions
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
The build file for Business::ISBN::Data
This build file is a modulino; it works as both a build script and a module.
To build the distribution, run this file normally:
% perl Makefile.PL
But, it's more interesting than that. You can load it with
require
and callarguments
to get the data structure it passes toWriteMakefile
:my $package = require '/path/to/Makefile.PL'; my $arguments = $package->arguments;
Note that
require
-ing a file makes an entry in%INC
for exactly that name. If you try torequire
another file with the same name, even from a different path,require
thinks it has already loaded the file. As such, I recommend you always require the full path to the file.The return value of the
require
is a package name (in this case, the name of the main module. Use that to call thearguments
method.Even if this distribution needs a higher version of Perl, this bit only needs v5.8. You can play with the data structure with a primitive Perl.
Module Install Instructions
To install Business::ISBN::Data, copy and paste the appropriate command in to your terminal.
cpanm Business::ISBN::Data
perl -MCPAN -e shell install Business::ISBN::Data
For more information on module installation, please visit the detailed CPAN module installation guide.