Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Module Creation

by WayneEarl (Acolyte)
on Jul 18, 2001 at 10:49 UTC ( [id://97563]=note: print w/replies, xml ) Need Help??


in reply to Module Creation

I would avoid the use of __DATA__ when coding your module; this would make your module incompatable with mod_perl (see: http://perl.apache.org/dist/mod_perl_traps.html for more info.)

Perhaps it is not your intention to use mod_perl, but my basic philosophy is to write code that is as flexable as possible; better to write it this way in the first place, then have to re-write it later.

I would also suggest writing all modules using h2xs. Not only does this lead to a more consistant programming style, you don't have to worry about use lib statements, nor do you have to worry about access permissions to your module files.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-03-29 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found