You should consider looking at the Curses module.

On 26 Jun 2001 19:41:45 +0800, Rajeev Rumale wrote:
> Hi,
> 
> I have a SQL query which returns me a very large number of records. since it
> is not good to list them all I want to *page* them.( Displaying a fixed
> number of records at a time) and the more forward and back ward. Just like
> the serch engines display their results.
> 
> I would like to know if there is a effecient solution for same.
> 
> with regards
> 
> Rajeev Rumale
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Rajeev Rumale
> MyAngel.Net Pte Ltd.,                                            Phone  :
> (65)8831530 (office)
> #04-01, 180 B, The Bencoolen,                               Email  :
> [EMAIL PROTECTED]
> Bencoolen Street, Singapore - 189648                     ICQ    : 121001541
> Website : www.myangel.net
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> ----- Original Message -----
> From: "Mark Bedish" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 26, 2001 7:21 PM
> Subject: sort by value?
> 
> 
> > I have a very simple tab delimited file containing text and numbers ,
> > just the 2 columns and I would like to sort by ascending numeric. I have
> > checked Learning Perl and Prog Perl but cannot get it to work - is that
> > because you can only sort by key or am I using the wrong approach
> > entirely?
> >
> > my @fields = qw/Text Time/;
> > my %ch;
> > foreach my $key (sort { $ch{1} cmp $ch{2} }  keys %ch ) {
> >    print OUT "$key: $ch{$key} \n"; # show key and value
> >  }
> >
> > Thanks,
> >
> > Mark Bedish
> >
> >
> >
> 
> 
--
Today is Boomtime, the 31st day of Confusion in the YOLD 3167
Wibble.


Reply via email to