Re: what is the best GUI to display this result

2008-08-28 Thread Aruna Goke
zentara wrote: On Wed, 27 Aug 2008 19:35:46 +0100, [EMAIL PROTECTED] (Aruna Goke) wrote: however, I wanted to be able to scroll both horizontally and vertically so that i can see all the numbers printed. and which one is selected as winner on click. and ability to click and randomly selecte

Re: what is the best GUI to display this result

2008-08-28 Thread John W. Krahn
zentara wrote: #!/usr/bin/perl -w use warnings; use strict; use Tk; #generate the size of an my array. my $filename = "julypromo.csv"; #Open the file open FH, '<', $filename || die "Couldn't open $filename : $!"; Because of the precedence of the '||' operator your program will die if $filen

Re: what is the best GUI to display this result

2008-08-27 Thread Aruna Goke
zentara wrote: On Tue, 26 Aug 2008 18:09:58 +0100, [EMAIL PROTECTED] (Aruna Goke) wrote: ... __END__ zentara Thanks Zentara, I have edited the code as below.. however, I wanted to be able to scroll both horizontally and vertically so that i can see all the n

Re: what is the best GUI to display this result

2008-08-27 Thread Rob Dixon
Aruna Goke wrote: > I am writing a raffle draw promo using perl and i have the script as below. > > what i intend to achieve is to print all the numbers in the array to gui > screen, clear the screen and display randomly selected one as the winner. > > however, I have run my script in the cmd li

Re: what is the best GUI to display this result

2008-08-27 Thread Aruna Goke
zentara wrote: On Tue, 26 Aug 2008 18:09:58 +0100, [EMAIL PROTECTED] (Aruna Goke) wrote: I am writing a raffle draw promo using perl and i have the script as below. what i intend to achieve is to print all the numbers in the array to gui screen, clear the screen and display randomly selected