Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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
    use strict;
    say 'bk';
    exit 0;
  2. or download this
    use strict;
    binmode( STDOUT, ':encoding(cp1252)');
    say 'bk';
    exit 0;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1014823]
Approved by mildside
[hippo]: But as shmem says, CPAN has been in core since 5.004 so unless you are on a packaged system you probably have it installed already.
[Spenser]: It's a stripped down version on a NAS device.
[Spenser]: It's frustrating
[Spenser]: Perl 5.10.0
[Spenser]: It uses opkg to install software
[choroba]: 5.10.1 would be much better
[shmem]: there are so many ways thinkable to fix that situation, some feasible and some not, that I'm unable to give good advice.
[Spenser]: I installed 5.22 with opkg. I can use it with cpan. I'm actually trying to install perl-DBD-mysql, but couldn't with it. So I went back to the factory version, 5.10.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2018-03-17 12:42 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.