Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Binary file I/O problem

by keszler (Priest)
on Oct 10, 2013 at 18:26 UTC ( #1057767=note: print w/replies, xml ) Need Help??


in reply to Binary file I/O problem

binmode

Update: Then read and write, or sysread and syswrite

Replies are listed 'Best First'.
Re^2: Binary file I/O problem
by DavidZ (Initiate) on Oct 11, 2013 at 19:27 UTC
    Thanks for the help. I've got Unix in my brain so much that I forgot about the oddities of DOS line delimiters. I did a quick study of file copy time in seconds as a function of batch size. Except for extreme values of batch size, most any batch size works nicely.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1057767]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2016-12-09 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (154 votes). Check out past polls.