[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: Newlines (fwd)



mark@cheers.jsc.nasa.gov (Mark Manning/Muniz Eng.) writes:
}According to John Macdonald:
}>
}> actually arrays.  It's not so necessary now that perl has support for
}> references and real multi-level arrays, but it is still useful for saving
}> things in a file and later reading it back in.
}
}REAL multi-level arrays?

Define "REAL".  Real as in you can write $a[$j][$i] = something and have it
work "naturally".  Not real in that the elements aren't contiguous in
memory  (but then neither are Perl 1-d arrays).  If you want "real" multi-d
arrays, for certain definitions of "real", and you're running under Unix,
look into the PDL module, which is designed for just this problem.

}Eh?  What page of the book is
}this on?  I'd like to read up on this!  This isn't the
}"fake out Perl" stuff is it?  :-?

Page 257-265 of the second edition Camel.



---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch