Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

changing STDOUT encoding and fork CRASH

by wolf391 (Initiate)
on Jan 23, 2013 at 02:30 UTC( #1014823=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    say 'bk';
    exit 0;
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    binmode( STDOUT, ':encoding(cp1252)');
    say 'bk';
    exit 0;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1014823]
Approved by mildside
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2016-08-30 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (410 votes). Check out past polls.