open STDOUT, '|less'; [download]
In reply to Re: Redirecting Output to shell command from within perl by salva in thread Redirecting Output to shell command from within perl by dracut