Re: Scripts & Modules
- From: sreservoir <sreservoir@xxxxxxxxx>
- Date: Thu, 03 Dec 2009 21:43:59 -0500
Bigus wrote:
Hello
I would just like some clarification on "use"ing modules. Say we have the following files on our system:
script1.cgi
module1.pm [contains sub - mod1function1()]
module2.pm [contains subs - mod2function1() and mod2function2()]
if this is actually happening, you should rewrite the thing so that it
has module1::function1, module2::function1, module2::function2. module
code being compiled in main:: is usually considered bad style.
--
"Six by nine. Forty two."
"That's it. That's all there is."
"I always thought something was fundamentally wrong with the universe"
.
- Follow-Ups:
- Re: Scripts & Modules
- From: Ben Morrow
- Re: Scripts & Modules
- References:
- Scripts & Modules
- From: Bigus
- Scripts & Modules
- Prev by Date: Re: Scripts & Modules
- Next by Date: Re: Scripts & Modules
- Previous by thread: Re: Scripts & Modules
- Next by thread: Re: Scripts & Modules
- Index(es):
Relevant Pages
|