As a fallback, you could always read the data in
as a binary blob (i.e., a byte array). Then you
can use pack/unpack to massage the data directly
from the $pdl->get_dataref reference. Further
games could be done by writing Inline::C or Inline::PP
routines.
I will map to a bigger type and otherwise die unless a force conversion
option is set. I don't expect longdouble nayways.
ushort I will map to short if the windowing is small enogh, otherwise
long, the same with ulong.
ushort is a supported PDL datatype
ulong is as well
ushort is, uling is not.
Ingo
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl