I know the way to redirect the output of, say, a perl program to a textfile as follows:
But how do I redirect to a textfile (for later review) the many error messages that often cascade across my screen during the debugging process (lost for ever for a lack of a ``scrollup'' facility within my simple telnet client) never to be seen again.