in reply to Re: Print to Less Screen
in thread Print to Less Screen

I don't disagree but nobody has complained so far. The data is pretty much impossible to look at without less. I could certainly add an option for raw output.

The bigger issue is that I'm still loading the results entirely into memory and this is a problem when a large amount of data is returned. I still can't figure out how to use a file handle in combination with split (which I need in order to parse the DB output). Really the only thing I can think to do is just create a few temp files myself and manage them manually because it just seems to complicated to get these various methods to work.

Replies are listed 'Best First'.
Re^3: Print to Less Screen
by Jenda (Abbot) on Jun 04, 2011 at 11:03 UTC

    Let the users run the script via a shell script that pipes its output to less.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.