Stable release 0.307
Brian Manning
10 years ago
0 | 0 |
Revision history for Perl extension ExtUtils::Depends.
|
|
1 |
|
|
2 |
0.307 Mon Apr 28 22:04:38 PDT 2014
|
|
3 |
- $Data::Dumper::Terse set to 1 broke save_config
|
|
4 |
- Document API expected by ::load function
|
1 | 5 |
|
2 | 6 |
0.306 Mon Sep 28 22:04:38 PDT 2013
|
3 | 7 |
- Fixed typo in RT queue URL; fixes RT#88960
|
42 | 42 |
into the data structures required by ExtUtils::MakeMaker's WriteMakefile
|
43 | 43 |
function.
|
44 | 44 |
|
|
45 |
For information on how to make your module fit into this scheme, see
|
|
46 |
"hashref = ExtUtils::Depends::load (name)".
|
|
47 |
|
45 | 48 |
When creating a new Depends object, you give it a name, which is the
|
46 | 49 |
name of the module you are building. You can also specify the names of
|
47 | 50 |
modules on which this module depends. These dependencies will be loaded
|
|
148 | 151 |
exist when loading files created by old versions of
|
149 | 152 |
ExtUtils::Depends.
|
150 | 153 |
|
|
154 |
If you want to make module *name* support this, you must provide a
|
|
155 |
module *name*::Install::Files, which on loading will provide the
|
|
156 |
following package variables: @typemaps, $inc, $libs, $deps, with the
|
|
157 |
same contents as above (not coincidentally). The "load" function
|
|
158 |
will supply the "instpath". An easy way to achieve this is to use
|
|
159 |
the method "$depends->save_config ($filename)", but your package may
|
|
160 |
have different facilities already.
|
|
161 |
|
151 | 162 |
$depends->load_deps
|
152 | 163 |
Load *$depends* dependencies, by calling "load" on each dependency
|
153 | 164 |
module. This is usually done for you, and should only be needed if
|
10 | 10 |
use File::Spec;
|
11 | 11 |
use Data::Dumper;
|
12 | 12 |
|
13 | |
our $VERSION = '0.306';
|
|
13 |
our $VERSION = '0.307';
|
14 | 14 |
|
15 | 15 |
sub import {
|
16 | 16 |
my $class = shift;
|