Another way is filehandle duplication:open my $stdout_dupe, ">&STDOUT" or die "Failed duplicating STDOUT: $!";(And if it does die you have a serious problem and it ought to.)
Makeshifts last the longest.
Comment on Re: PDF::Create - send output to STDOUT?