sagus has asked for the wisdom of the Perl Monks concerning the following question:
I'm new at Perl. I have the results of a search in a Hash, and I need to print the N results in a window using GUI. My doubt is how to embedding a perl repetitive structure (like for) into XUL::Gui (to print the N result on a label).
I post a code of what i want to do (of course that dont work :P)
Thank you all :)#! /usr/bin/perl use XUL::Gui; $moreThanOne=5; display Window title => "Pacientes", GroupBox( for($i=0;$i<=$moreThanOne;$i++){ Label (value=>$i); }, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XUL::Gui and Loop structure
by lancer (Scribe) on May 31, 2011 at 07:23 UTC | |
by sagus (Initiate) on May 31, 2011 at 15:55 UTC | |
by lancer (Scribe) on May 31, 2011 at 19:14 UTC | |
by Argel (Prior) on May 31, 2011 at 16:47 UTC | |
by Jenda (Abbot) on May 31, 2011 at 18:24 UTC | |
by lancer (Scribe) on May 31, 2011 at 19:40 UTC | |
|
Re: XUL::Gui and Loop structure
by deep3101 (Acolyte) on May 31, 2011 at 03:07 UTC | |
by deep3101 (Acolyte) on May 31, 2011 at 03:08 UTC |