|more useful options|
Re: Re: Output questionby arhuman (Vicar)
|on Dec 26, 2001 at 18:14 UTC||Need Help??|
I don't see why you should write your pager as '| more' will work both on unices and windoze...
But, If you want to do it anyway, a simple test in front of each print :
should be enough for simple/small scripts...
Or to be a little bit cleaner, using print2 instead of print, whith print2 defined like this :
Term::ReadKey May be more appropriate than getc.
Anyway you got the idea...
This answer is for oaklander, I replied to the wrong post. Apologizes (especially to Hotshot).
"Only Bad Coders Code Badly In Perl" (OBC2BIP)