Re: using (sharing) variables between perl files

2006-06-19 Thread Jeff Peng
The "best" way to do it in your case will vary, depending on what exactly you're doing with your Perl scripts. I do agree that.If you develop large programs where multi-processes should share some variables (including scalar,array or hash),you could use DB_File or other database to store

Re: using (sharing) variables between perl files

2006-06-19 Thread Chad Perrin
On Mon, Jun 19, 2006 at 05:02:33PM +0200, Varga Pavol wrote: > Hi, > may be very simple, but I don't understand well how to simple use (share) > varables between perl files? > I have (very) big perl script and I would like to divide it into more small > scripts to make it all more transparent. > Or

Re: using (sharing) variables between perl files

2006-06-19 Thread Anthony Ettinger
On 6/19/06, Prabu <[EMAIL PROTECTED]> wrote: Varga Pavol wrote: > Hi, > may be very simple, but I don't understand well how to simple use (share) > varables between perl files? > I have (very) big perl script and I would like to divide it into more small > scripts to make it all more transparent.

Re: using (sharing) variables between perl files

2006-06-19 Thread Prabu
Varga Pavol wrote: Hi, may be very simple, but I don't understand well how to simple use (share) varables between perl files? I have (very) big perl script and I would like to divide it into more small scripts to make it all more transparent. Or, how to use one @array or one $array_ref for more t

Re: using (sharing) variables between perl files

2006-06-19 Thread M. Kristall
Varga Pavol wrote: Hi, Hello may be very simple, but I don't understand well how to simple use (share) varables between perl files? I have (very) big perl script and I would like to divide it into more small scripts to make it all more transparent. perldoc is your friend. If you have separate '

using (sharing) variables between perl files

2006-06-19 Thread Varga Pavol
Hi, may be very simple, but I don't understand well how to simple use (share) varables between perl files? I have (very) big perl script and I would like to divide it into more small scripts to make it all more transparent. Or, how to use one @array or one $array_ref for more than one file.pl? I j

Re: Sharing variables

2003-02-10 Thread david
Dan wrote: > Hi > > Is it possible to share variables between 2 perl scripts running as 2 > separate processes? I've looked on CPAN but can't see any names that are > obvious they do that kind of thing. > > Thanks in advance. > > Dan use a simple share memory method such as IPC::ShareLite. exa

Re: Sharing variables

2003-02-10 Thread Victor Tsang
This is what you need http://theoryx5.uwinnipeg.ca/CPAN/data/IPC-Shareable/IPC/Shareable.html Tor. dan wrote: > > Hi > > Is it possible to share variables between 2 perl scripts running as 2 > separate processes? I've looked on CPAN but can't see any names that are > obvious they do that kind

Sharing variables

2003-02-10 Thread dan
Hi Is it possible to share variables between 2 perl scripts running as 2 separate processes? I've looked on CPAN but can't see any names that are obvious they do that kind of thing. Thanks in advance. Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

RE: Sharing variables

2003-01-29 Thread wiggins
On Wed, 29 Jan 2003 13:42:49 +0100, "Enric Roca" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm new in Perl programming and I think that this is an easy question for > you: > > I'm using Apache 1.3.26 and Perl 5.5.3 and I don't want to install > add

RE: Sharing variables

2003-01-29 Thread Bob Showalter
Enric Roca wrote: > Hello, > > I'm new in Perl programming and I think that this is an easy question > for you: > > I'm using Apache 1.3.26 and Perl 5.5.3 and I don't want to install > additional modules if I can avoid it. > I have an script, ex. test.pl that must control if it is already > execu

Sharing variables

2003-01-29 Thread Enric Roca
Hello, I'm new in Perl programming and I think that this is an easy question for you: I'm using Apache 1.3.26 and Perl 5.5.3 and I don't want to install additional modules if I can avoid it. I have an script, ex. test.pl that must control if it is already executing, and if it is, it must wait for