I guess you should use the "|more" command in the command prompt not inside the perl code itself.
perl code.pl <option> |more
On Thu, 26 Aug 2004 09:36:38 +0200, Etienne Ledoux <[EMAIL PROTECTED]> wrote:
ok.
Here is the output I'm trying to '|more'
while (@ref = $sth->fetchrow_array()) { print "Username: $ref[0], Password: $ref[1]\n"; }
I tried putting |more at various positions where I thought it might work. But
it doesn't work as expected.
On Thursday 26 August 2004 09:31, Etienne Ledoux wrote:On Thursday 26 August 2004 09:20, Ramprasad A Padmanabhan wrote:
> On Thu, 2004-08-26 at 12:28, Etienne Ledoux wrote:
> > Greetings,
> >
> > I have a program that does a search on a db and prints the output to
> > the screen. If there is a lot of output how can I a stop/continue
> > displaying it. like 'ls -l |more' would do. or anything |more for that
> > matter.
> >
> > tx
> >
> > e.
>
> why not |more
>
> Ram
*bang-head-on-desk*
after I sent the mail. I thought it would be funny if the answer actually
was
|more.
I'll try it.
tx!
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>