Re: What's wrong in this code

2001-11-08 Thread Etienne Marcotte
oops my bad it's the third time he posts his code and it's different each time :P The one before was for(0..$#array) that's why I told it was the index Etienne "Brett W. McCoy" wrote: > > On Thu, 8 Nov 2001, Etienne Marcotte wrote: > > > because $_ contains the index number only > > > > you

Re: What's wrong in this code

2001-11-08 Thread Brett W. McCoy
On Thu, 8 Nov 2001, Etienne Marcotte wrote: > because $_ contains the index number only > > you need to access the element of the array!!! > > -label=>$_boards[$_], > -value =>$_boards[$_], No, actually, $_ contains the actual item from the array as used in a foreach loop like this. The radio b

Re: What's wrong in this code

2001-11-08 Thread Etienne Marcotte
because $_ contains the index number only you need to access the element of the array!!! -label=>$_boards[$_], -value =>$_boards[$_], Etienne Jorge Goncalvez wrote: > > Hello, i have this: > > open (IPCONF,"< $_Globals{IPCONFIG}") or die "je ne peux ouvrir > $_Globals{IPCONFIG} :$!"; >