Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: The print is output later after die

by choroba (Cardinal)
on Jan 28, 2022 at 12:05 UTC ( [id://11140926]=note: print w/replies, xml ) Need Help??


in reply to Re^2: The print is output later after die
in thread The print is output later after die

See IO::Handle. There's no difference, just readability :-)

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: The print is output later after die
by ikegami (Patriarch) on Jan 28, 2022 at 12:23 UTC

    There's a difference. $| = 1; is equivalent to select()->autoflush(), not STDOUT->autoflush().

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found