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} :$!";
> my (@_boards);
> foreach (<IPCONF>) {
> chomp();
> if ($_ =~ /Description/) {
> push @_boards, (split(/:\s*/, $_))[1];
>
> foreach (@_boards){ $cc3-> radiobutton (-label=>$_,
> -value =>$_,
> -variable=>\$NIC,
> -command =>sub {cbkSetLangage});
> }
> My radiobutton didn't display what there is in the array why?
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]