in reply to Regarding STDOUT and indirect object notation for print

Add diagnostics to the script:
#!/usr/bin/perl use strict; use warnings; use diagnostics; my $fh = \*STDOUT; $fh->print("Hello, World\n");
See perlobj for more info.

Update: removed begin block---not useful here:)