in reply to Re^2: Listbox, radio buttons and text box in sub function?
in thread Listbox, radio buttons and text box in sub function?
my (@choice1, $localpath) = myListBox(qw( item1 item2 item3 ));
This indeed doesn't work, as assignment to an array gobbles up all the values from the right hand side. Swap the arguments, or return an array reference.
return ($localpath, @choice1) # ... my ($localpath, @choice1) = myListBox(qw( item1 item2 item3 )); # OR return (\@choice1, $localpath) # ... my ($choice_ref, $localpath) = myListBox(qw( item1 item2 item3 ));
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Listbox, radio buttons and text box in sub function?
by Ppeoc (Beadle) on Feb 12, 2016 at 19:54 UTC |