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.