P Kishor wrote: > I have an inherited C program that reads data that has been outputted > by an IDL program to a binary file on the disk using IDL's WRITEU > function. See http://www.physics.nyu.edu/grierlab/idl_html_help/files28.html > for information on WRITEU. > > I have the data in a database as well, that I can happily read with > DBI. Is there a way I can write out the results of the query from the > database into the same kind of binary file as produced by WRITEU? > You should look at PDL::IO::FlexRaw and PDL::IO::FastRaw. The former in particular "is designed to read output from FORTRAN 77 UNFORMATTED files and the low-level C write function." My guess is this is similar to what IDL's WRITEU and READU do.
Derek _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
