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
Originally posted as a Categorized Question.
|
|---|