Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Regarding STDOUT and indirect object notation for print

by Khen1950fx (Canon)
on Dec 29, 2009 at 21:43 UTC ( [id://814829]=note: print w/replies, xml ) Need Help??


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:)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://814829]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found