Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Binary Data

by djantzen (Priest)
on Jun 12, 2003 at 01:56 UTC ( [id://265252]=note: print w/replies, xml ) Need Help??


in reply to Binary Data

Try File::Copy or even just a system("cp file.exe newfile.exe");

Update: But you really just need to binmode the filehandle after you open it for the write :^)

See also: File Copy, Remember to binmode text files


"The dead do not recognize context" -- Kai, Lexx

Replies are listed 'Best First'.
Re: Re: Binary Data
by Anonymous Monk on Jun 12, 2003 at 02:09 UTC
    I'm not looking for copy. In some cases, the $binary variable will be manipulated, but I will not know until it is read in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found