If you want to be more Perlish, drop the @list.
sub build_list { my $max = shift(); return map Label(value=>$_), 0..$max; }
The name $howmany was misleading, you were generating more items than that as you were stargin with zero. And now there's little reason to keep on using a subroutine.
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^3: XUL::Gui and Loop structure
by Jenda
in thread XUL::Gui and Loop structure
by sagus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |