Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: perl module...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 11015 of 11531
Post > Topic >>

Re: perl module?

by leventelist@[EMAIL PROTECTED] (Levente Kovacs) May 2, 2008 at 07:26 PM

On Fri, 02 May 2008 18:33:07 +0200
Gunnar Hjalmarsson <noreply@[EMAIL PROTECTED]
> wrote:

> Levente Kovacs wrote:
> > J. Peng wrote:
> >> On Fri, May 2, 2008 at 2:54 PM, Levente Kovacs
> >> <leventelist@[EMAIL PROTECTED]
> wrote:
> >>>  I'd like to write a code shared among several simple scripts, as
> >>> a NON-OO module, ...
> 
> <snip>
> 
> >> #########################
> >> # the third way
> >> #########################
> >> Both the first way and the second way are not good.Because your
> >> config file is large,the former ways have im****ted all those large
> >> content into your main script.If your main script is run under
> >> cgi/modperl which is generally multi-process,your memory could be
> >> eated quickly.So the best way is to create an object then
> >> multi-process can share the object if this object was not changed
> >> later,since object is only located in its own namespace.
> > 
> > Thanks for your answer, approach #3 works good. That is what I
> > wanted.
> 
> A slightly surprising response, considering that you in the original 
> post said that you would like to write a non-OO module.

Yes, but without it I could not figure out how to achieve it. I think it
is
very complicated comparing to C, C++. The more language I learn, the more
I
think C(++) is the most flexible language.

Thanks,
Levente

-- 
Levente Kovacs <leventelist@[EMAIL PROTECTED]
>
 




 7 Posts in Topic:
perl module?
leventelist@[EMAIL PROTEC  2008-05-02 08:54:47 
Re: perl module?
noreply@[EMAIL PROTECTED]  2008-05-02 10:22:54 
Re: perl module?
peng.kyo@[EMAIL PROTECTED  2008-05-02 16:32:32 
Re: perl module?
leventelist@[EMAIL PROTEC  2008-05-02 16:51:14 
Re: perl module?
noreply@[EMAIL PROTECTED]  2008-05-02 18:33:07 
Re: perl module?
leventelist@[EMAIL PROTEC  2008-05-02 19:26:49 
Re: perl module?
peng.kyo@[EMAIL PROTECTED  2008-05-03 01:33:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:56:03 CDT 2008.