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