On Wed, 27 Jun 2001, Jerry Preston wrote:
> Hi!,
>
> What is the best source to learn to write packages?
The way I did it, was to just start messing with 'h2xs'. Try this command
once:
h2xs -AX -n MyModuleName
This will make a skeleton module for you called 'MyModuleName'. You can
also have :: in the module name if you want.
Just edit the .pm file in the directory to do what you want.
Once you get the hang of making simple modules, you can look for more
information with perldoc:
perldoc perlmod
perldoc perlmodlib
perldoc h2xs
perldoc ExtUtils::MakeMaker
Be sure to document your module with POD:
perldoc perlpod
And if/when you are ready to write XS code (that is, combine perl and C):
perldoc perlxstut
perldoc perlxs
perldoc perlapi
perldoc perlguts
- D
<[EMAIL PROTECTED]>