| <david.weekly.org> | March 15 | 2010 | |
| code | Notes on making Perl Modules | ||
|
This is just a note to myself (dave weekly) on how to go about
building perl modules.
Example Makefile.PL
WriteMakefile(
'NAME' => 'C::Scan',
'dist' => { COMPRESS => 'gzip', SUFFIX => '.gz'},
'VERSION_FROM' => 'Scan.pm', # finds $VERSION
'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
'PREREQ_PM' => {'Data::Flow' => 0.05},
);
| ||
| content & layout © copyright 1995-2008 -{ david e weekly }- | ||