From: "Braun Brelin" <[log in to unmask]>
> Folks,
>
> I should add that I'm using the MPE::IMAGE perl module
> and that the packed unsigned fields are six bytes(?)
> in length.
>
> Basically, the code sample looks like this:
>
> $string = DbGet($db,2,$dataset);
> print "string = $string\n";
The easiest thing to do is to do the DbGet into a hash. Then, when you refer to the
individual items, they will be autoconverted (assuming the Image schema is correct).
For example (untested code ahead):
%record = DbGet($db,2,$dataset);
for (keys %record) {
print "field $_ = $record{$_}\n";
}
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *