Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Three argument version of open '>-'

by LanX (Saint)
on Mar 01, 2021 at 23:24 UTC ( [id://11128975]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Three argument version of open '>-'
in thread Three argument version of open '>-' (updated)

Thanks, it's clearer now, you want that the "copy FH" fails if STDOUT is closed, but without emitting a warning.

Sorry, no clue yet...

update

BTW: you can automatize your test-runs with an exec $0 #Test if @ARGV is empty :)

and maybe you should also consider testing different states of autoflush.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2024-05-20 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found