Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Is there any specific convention/best practices for perl module creation?

by 2teez (Priest)
on Nov 17, 2012 at 13:15 UTC ( #1004310=note: print w/ replies, xml ) Need Help??


in reply to Is there any specific convention/best practices for perl module creation?

Hi tomishere,
..If there is any good links..
Links you say?
Please check the followings:
perlstyle, perlmod then
See perlmodlib for general style issues related to building Perl modules and classes, as well as descriptions of the standard library and CPAN,
Exporter for how Perl's standard import/export mechanism works,
perlootut and perltooc for an in-depth tutorial on creating classes,
perlobj for a hard-core reference document on objects,
perlsub for an explanation of functions and scoping, and
perlxstut and perlguts for more information on writing extension modules.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me


Comment on Re: Is there any specific convention/best practices for perl module creation?
Re^2: Is there any specific convention/best practices for perl module creation?
by davido (Archbishop) on Nov 17, 2012 at 18:08 UTC

    Unless my eyes are deceiving me, I don't see perlmodstyle in your list, which is a very good resource.

    Additionally, if you intend to upload to CPAN, I recommend reading the CPAN Author's FAQ, and About PAUSE (even if you're not uploading to CPAN, there's useful advice).

    Once you're confident enough in your own good judgement to not be blindly influenced by the book, Perl Best Practices (O'Reilly) is useful. But most people seem to ignore the instructions early in the book telling authors that these guidelines are more intended to "get you thinking" than to "tell you what to do." In practice, it seems the opposite happens; the "best practices" are trotted out as a crutch to excuse coders from thinking for themselves. With that caveat, I still think it can be helpful to read through it and try to understand what issues are being addressed, and where the suggestions are (and are not) appropriate.


    Dave

      ++ Dave. Agreed with your point on Perl Best Practices Book.
      However, I suppose the OP wanted a pointer or references to Perl documentations that could help (in writing or) using perl modules correctly.
      Nice inclusion of perlmodstyle.
      Thanks.

      If you tell me, I'll forget.
      If you show me, I'll remember.
      if you involve me, I'll understand.
      --- Author unknown to me

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2014-07-22 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (109 votes), past polls