<david.weekly.org> May 18 2008
code Notes on making Perl Modules
 
{ auf deutsch
en español
en français
}
  <d.w.o>
  about
  books
  code
  codecs
  mp3 book
  news
  pictures
  poems
  university
  wine
  writings
  video
  get my updates



don't email
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 }-