Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How can I do this better?

by zzspectrez (Hermit)
on Jan 19, 2001 at 06:31 UTC ( [id://52914]=note: print w/replies, xml ) Need Help??


in reply to How can I do this better?

If the routine will be downloading binary data such as images or files you might consider doing binmode(OUT); immediately after the open. Otherwise on some systems such as Windows, the data will be corrupted on write because a "\n" is actually two characters on Windows and is changed to "\015\012". This works fine for text data but will cause problems if the data is not text. For more information see perlport and my problem with this at the following node Windows CRLF Confusion.

zzSPECTREz

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-25 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found