Re: [Lug-Nuts] perl module template

From: Mike Machado (mike@cheapnet.net)
Date: Sat Feb 05 2000 - 12:00:41 PST


Ahh well there you go :).

On Sat, 5 Feb 2000, Brian Lavender wrote:

> Mike,
>
> I believe this will work well for non XS modules too. I have yet to write
> a module, so correct me if I am wrong. Below, I have included a snippet from
> the h2xs documentation.
>
> $ perldoc h2xs
>
> -X Omit the XS portion. Used to generate templates for
> a module which is not XS-based.
>
> So, am I wrong to assume that h2xs will generate the template for your
> generic PERL module?
>
> brian
>
> On Sat, Feb 05, 2000 at 10:07:00AM -0800, Mike Machado wrote:
> > 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
>
> --
> 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

**********************************************************
* 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



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