Klem has asked for the wisdom of the Perl Monks concerning the following question:
my $in; open IN, "out.txt" or die "can't open IN\n"; open OUT, ">unencrypted.txt" or die "can't open OUT\n"; my $len = (-s IN); print "len= $len\n"; #shows 2458 $len = sysread(IN, $in, (-s IN)); close IN; die "read= $len\n"; #shows 115 The file I am trying to read starts like this. 3߅m8&/3}{nş H1/߸R| 1/߸R| {n.3nRUW~H +I}n}֎`jCtZ^)X
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Preoblem Reading Encrypted file on a Win32 box
by tachyon (Chancellor) on Dec 20, 2001 at 23:33 UTC | |
by Klem (Initiate) on Dec 21, 2001 at 01:10 UTC | |
|
Re: Preoblem Reading Encrypted file on a Win32 box
by Aighearach (Initiate) on Dec 20, 2001 at 23:32 UTC |