in reply to My first perl module

h2xs can generate stubs for you with a clean skeleton. Something like h2xs -X -n My::Module will do the trick, and yes, @EXPORT is in it too :)

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.

Replies are listed 'Best First'.
Re: Re: My first perl module
by dragonchild (Archbishop) on Dec 03, 2001 at 19:02 UTC
    h2xs creates a whole lot of stuff. It's very useful, I'd imagine, to the person who created it, but not for me (or a lot of other people). I write a ton of modules, and I've never once wanted to use it. Ever.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

      I like h2xs for it's POD stubs and it's Makefile.PL stub. I'm lazy, what can I say? :))

      Greetz
      Beatnik
      ... Quidquid perl dictum sit, altum viditur.