actually scrap that. if you could just tell me how to pass configs and variables to the module for use in a sub, that would be a great help
On Wed, Sep 18, 2002 at 08:32:25 +0100, Mat Harris wrote: > ok, how about this: > > user opens a webpage, the module checks where a cookie is set in the client > browser, if yes then check the cookie id against a mysql database. id the > cookis is valid then return an array like: > > qw/valid, cookieid/ > > or if its invalid then: > > qw/invalid, remoteip/ > > alsom, how do include a seperate function for after that check that will do > something like lookup the username in the mysq; record that matches the > cookie id. > > On Wed, Sep 18, 2002 at 09:06:44 -1000, Beau E. Cox wrote: > > Hi - > > > > I would be happy to help. Please give me a _small_ piece > > of code to modularize and details, and I will help you step > > thru the process. Also let me know about your environment and > > level of experience. > > > > Aloha => Beau. > > > > PS: the best tutorial on the process I have seen is in > > "Effective Perl Programming", Hall and Schwartz, > > Addison-Wesley, 1998, pages 177-197. > > > > -----Original Message----- > > From: Mat Harris [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, September 18, 2002 3:02 AM > > To: [EMAIL PROTECTED] > > Subject: creating modules > > > > > > i would reall like to start creating my own modules for all those regularly > > used bit and pieces, but i don't know where to start. i have read perldoc > > perlmod and sources of loads of other modules but nothing.. > > > > if i laid down a small scenario, could someone help me modulise it so i can > > get my head round? > > > > cheers > > > > -- > > Mat Harris OpenGPG Public Key ID: CC14DD34 > > [EMAIL PROTECTED] matthewh.genestate.com > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Mat Harris OpenGPG Public Key ID: CC14DD34 > [EMAIL PROTECTED] matthewh.genestate.com > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Mat Harris OpenGPG Public Key ID: CC14DD34 [EMAIL PROTECTED] matthewh.genestate.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]