RE: Making a module-It can't be this hard.

2002-10-26 Thread Ged Haywood
Hi there, On Sat, 26 Oct 2002, Per Einar Ellefsen wrote: At 00:01 26.10.2002, Robert Covell wrote: The modules I have declared do contain a package name. Is it not possible or easy to just use/require/include a pl or pm file that contains a set of function for me to reuse. Also: have

Making a module-It can't be this hard.

2002-10-25 Thread Robert Covell
I simply want to make a module so I can reuse a common header instead of manually changing each page. Under mod-perl how do you simply create a module that I can use/require/include that I can call a subroutine/function to generate some html based on the page you are on. It works 5 out of 10

Re: Making a module-It can't be this hard.

2002-10-25 Thread Perrin Harkins
Robert Covell wrote: I simply want to make a module so I can reuse a common header instead of manually changing each page. Under mod-perl how do you simply create a module that I can use/require/include that I can call a subroutine/function to generate some html based on the page you are on. It

RE: Making a module-It can't be this hard.

2002-10-25 Thread Robert Covell
I have read that link you provided, thanks. The modules I have declared do contain a package name. Is it not possible or easy to just use/require/include a pl or pm file that contains a set of function for me to reuse. Is this a valid pm and pl file? package Test; sub DisplaySection {

RE: Making a module-It can't be this hard.

2002-10-25 Thread Per Einar Ellefsen
At 00:01 26.10.2002, Robert Covell wrote: I have read that link you provided, thanks. The modules I have declared do contain a package name. Is it not possible or easy to just use/require/include a pl or pm file that contains a set of function for me to reuse. Is this a valid pm and pl file?