RE: Preventing CPU spikes / was switch confusion

2005-04-13 Thread David Gilden
Dear Perl Gurus, I have some problems that I think are a result of how my Switch statement is written. This script is invoked via a web browser to upload a file, and do a few other things. However it appears that the user system / network, or my script is stalling. So the user clicks the butt

Re: Variables in Modules

2005-04-13 Thread Lawrence Statton
> Dear Guys, > > I´ve been trying to develop an application that consists in about 8-10 > scripts that should know about module variables (not OO yet). I read the > docs and found that I can use a module variable (declared with our) in > scripts that 'use' that module. Ok, there are: > > mod

Re: Variables in Modules

2005-04-13 Thread David Dorward
On Wed, Apr 13, 2005 at 05:14:31PM -0300, Sergio Pires de Albuquerque wrote: > Thanks, but when I call another script from script1.cgi the value has > gone HTTP is stateless. Each time a user requests an HTTP resource provided by a script, that script is run from scratch. If you want to make dat

perl module Text-Iconv-1.4 will not install

2005-04-13 Thread dave
hi to All, this isn't really a perl programming question but instead a perl compile/install question. i've been trying to install perl modules: Text-Iconv-1.2 or Text-Iconv-1.4 i'm doing the install from: /usr/src/packages/SOURCES this is on SuSe linux 9.0. i need this module installed for

Re: Variables in Modules

2005-04-13 Thread Sergio Pires de Albuquerque
Ovid wrote: --- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: I tried with our, importing that var and fully qualified it, but always it get the previous value. My question is: Which method is common to share data among apps? What Am I doing wrong? Also, I always use "strict"

Re: Variables in Modules

2005-04-13 Thread Wiggins d'Anconia
Ovid wrote: --- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: I tried with our, importing that var and fully qualified it, but always it get the previous value. My question is: Which method is common to share data among apps? What Am I doing wrong? Also, I always use "strict" and "warn

Re: Variables in Modules

2005-04-13 Thread Ovid
--- Sergio Pires de Albuquerque <[EMAIL PROTECTED]> wrote: > I tried with our, importing that var and fully qualified it, but > always > it get the previous value. My question is: Which method is common to > share data among apps? What Am I doing wrong? Also, I always use > "strict" and "warnin

Variables in Modules

2005-04-13 Thread Sergio Pires de Albuquerque
Dear Guys, I´ve been trying to develop an application that consists in about 8-10 scripts that should know about module variables (not OO yet). I read the docs and found that I can use a module variable (declared with our) in scripts that 'use' that module. Ok, there are: module1.cgi (declare