in reply to Re: XUL::Gui and Loop structure
in thread XUL::Gui and Loop structure
UPDATE: The original post was edited. The code in this thread (one started by lancer) is based on the original code.#!/usr/bin/perl use XUL::Gui; $moreThanOne=5; sub build_list { my $howmany = shift; my @list = (); push @list, Label(value=>$_) for 0 .. $howmany; return @list; } @pacientes = build_list $moreThanOne; display Window title => "Pacientes", width => 640, height => 480, Grou +pBox (@pacientes);
Elda Taluta; Sarks Sark; Ark Arks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: XUL::Gui and Loop structure
by Jenda (Abbot) on May 31, 2011 at 18:24 UTC | |
by lancer (Scribe) on May 31, 2011 at 19:40 UTC |