in reply to Re^2: How to read encrypted data from informix database into a single variable
in thread How to read encrypted data from informix database into a single variable
open my $fh, '<', $file or die "Can't read '$file': $!\n"; while((my $len = read $fh, my $record, 32) == 32) { # do something with $record ... (read $fh, my $junk, 2) == 2 or last; }
Oh wait... yes, use strict, use warnings :-)
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to read encrypted data from informix database into a single variable
by Dev (Initiate) on May 16, 2007 at 09:10 UTC |