http://www.perlmonks.org?node_id=379925

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?
system("less $file");
Thanks
Hotshot