Re: Printing Arrays

2003-09-22 Thread Rob Dixon
Jenda Krynicky wrote: > > Desmond Lim wrote: > > > I have 3 arrays @arr1, @arr2 and @arr3. > > Do not do that! Yeah. I guess that summarises it :) Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Printing Arrays

2003-09-22 Thread Jenda Krynicky
From: "Desmond Lim" <[EMAIL PROTECTED]> > I have 3 arrays @arr1, @arr2 and @arr3. Do not do that! http://www.oreillynet.com/pub/a/network/2001/05/18/perl_redflags.html Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to

RE: Printing Arrays

2003-09-22 Thread Charles K. Clarkson
Desmond Lim <[EMAIL PROTECTED]> wrote: : : I have 3 arrays @arr1, @arr2 and @arr3. : : I need to print them into the same file and I'm doing this. : : open FILE, ; : print FILE "@arr1\n"; : print FILE "@arr2\n"; : print FILE "@arr3\n"; : close FILE; : : I would like to shorten it to : : for ($

Re: Printing Arrays

2003-09-22 Thread Rob Dixon
Desmond Lim wrote: > > I have 3 arrays @arr1, @arr2 and @arr3. > > I need to print them into the same file and I'm doing this. > > open FILE, ; > print FILE "@arr1\n"; > print FILE "@arr2\n"; > print FILE "@arr3\n"; > close FILE; > > I would like to shorten it to > > for ($i=0;$i<4;$i++) { > prin