$ perl -le'/std/i && print for keys %::' stderr stdout stdin STDOUT STDERR STDIN $ perl -le'print stdout "Hello" or die $!' Hello