On 6/27/2011 1:12 AM, David Mertens wrote:
my @header = readflex($file,$header); -------->%-------- FlexRaw slurps. It only slurps.
That is only true if you pass a filename argument. If you pass a ref to a filehandle (such as might be returned by IO::File->new() or a globref \*FH) then readflex will use the open handle for the read. See PDL::IO::FlexRaw documentation for an example. --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
