Re: [Lug-Nuts] perl module template

From: Mike Machado (mike@innercite.com)
Date: Sat Feb 05 2000 - 10:07:00 PST


That is for XS modules (modules that use C code as parl of the perl module). Yes,
that command works very well. The one perl module I have written that used
XS code was started with that command. It makes it easy to get started. If you
are writing code that does not use XS, be sure to remove any of the autoloader
and dynaloader commands.

Quoting Brian Lavender <brian@brie.com>:

> I just discovered that there is a cool way to create template for writing
> a perl modules.
>
> $ h2xs -X -n modulename
>
> It creates the basic structure of the module, the Makefile.PL and all
> the other essentials. I have yet to write my own module, but this looks
> really cool for creating the initial framework.
>
> brian
> --
> Brian Lavender
> http://www.brie.com/brian/
> **********************************************************
> * Sacramento Linux Users Group Mailing List
> *
> * Unsubscribe: Send a message to majordomo@saclug.org
> * With 'unsubscribe lug-nuts' in the body
> *
> * http://www.saclug.org
>

Mike Machado
mike@innercite.com
InnerCite
Network Specialist



This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:11 PST