Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Question about making modules.

by EvanCarroll (Chaplain)
on Jul 06, 2008 at 19:30 UTC ( [id://695864]=note: print w/replies, xml ) Need Help??


in reply to Question about making modules.

  • Use module-starter to create the module module-starter --mi --module="MyModule" --author="Anonymous Monk"
  • Use Module::Install, on all new modules
  • Use Test::More if your going to write tests
  • Learn Moose (it would save you from having to write new()
  • Don't ever use Exporter on an OO module
  • You're better off passing HashRefs than arrays ->new({foo=>bar}) rather than ->new(foo=>bar)
  • Don't use indirect object notation 'stupid Wizard nonsense' Wizard->stupid(nonsense)


Evan Carroll
I hack for the ladies.
www.EvanCarroll.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://695864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found