Help for this page
-output ... which the usage message should be written. The default is \*STDERR unless the exit value is less than 2 (in which case the default is \*STDOUT).
your_program.pl 2>&1 | less