Modules Problem

2003-08-28 Thread Tim Edwards
I in the process of switching my scripts over to Mod Perl. I decide since Mod Perl doesn't like Sub routine in the the main program I'd export make Modules out of the more come ones. Simple process I thought. However no mater what I do I get an error. I tried making a simple one using the

Re: Modules Problem

2003-08-28 Thread Bruce Tennant
You need to setup exports in your Rules1 package. Take a look at Exporter. (perldoc Exporter) OR, call the function with its fully qualified package nameTim Edwards [EMAIL PROTECTED] wrote: I in the process of switching my scripts over to Mod Perl.I decide since Mod Perl doesn't like Sub routine

Re: Modules Problem

2003-08-28 Thread Perrin Harkins
On Thu, 2003-08-28 at 16:09, Tim Edwards wrote: I in the process of switching my scripts over to Mod Perl. I decide since Mod Perl doesn't like Sub routine in the the main program I'd export make Modules out of the more come ones. Just to be clear, mod_perl has no problem with subroutines