For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > June 2005 > writing encrypted data to a file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author writing encrypted data to a file
Lefty

2005-06-09, 3:56 am

Hello,

I am using Twofish on Win32 ActivePerl to encrypt data and then writing it
to a file, the problem is that the encrypted data is being interperated by
perl as newline characters etc i.e \n \t \r
is there anyway to get perl to just write exactly what is in the variable to
the file?

Thanks In Advance
James


John W. Krahn

2005-06-09, 3:56 am

Lefty wrote:
>
> I am using Twofish on Win32 ActivePerl to encrypt data and then writing it
> to a file, the problem is that the encrypted data is being interperated by
> perl as newline characters etc i.e \n \t \r
> is there anyway to get perl to just write exactly what is in the variable to
> the file?


perldoc -f binmode


John
--
use Perl;
program
fulfillment
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com