Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Simplest Possible Way To Disable Unicode

by Anonymous Monk
on Sep 02, 2011 at 06:16 UTC ( #923768=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $content = get($url);
    # other stuff...
    die "Could not write: $filename\n$!" unless open(my $fdOut, '>', $file
    +name);
    binmode($fdOut);
    syswrite($fdOut, $content, length($content));
    close($fdOut);
    
  2. or download this
    use Encoding;
    
    my $content = get($url);
    ...
    binmode($fdOut);
    syswrite($fdOut, $content, length($content));
    close($fdOut);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2021-04-21 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?