hotshot has asked for the wisdom of the Perl Monks concerning the following question:
Hi all!
I have LONG input I wish to display to the console (from my perl script), sometimes it's a content of a file and sometime it can be a very big hash/list.
How can I implement a pager (like less or more), or is there a ready module that can help me here?
Is using Linux less as follows is a good solution?
I have LONG input I wish to display to the console (from my perl script), sometimes it's a content of a file and sometime it can be a very big hash/list.
How can I implement a pager (like less or more), or is there a ready module that can help me here?
Is using Linux less as follows is a good solution?
system("less $file");
Thanks
Hotshot
Hotshot
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Paging on input/file
by rhythmicus (Sexton) on Aug 04, 2004 at 08:17 UTC | |
Re: Paging on input/file
by broquaint (Abbot) on Aug 04, 2004 at 08:20 UTC | |
Re: Paging on input/file
by trantor (Chaplain) on Aug 04, 2004 at 08:20 UTC | |
Re: Paging on input/file
by tachyon (Chancellor) on Aug 04, 2004 at 13:14 UTC |
Back to
Seekers of Perl Wisdom