correia@barebones.com (Jim Correia) wrote: >On 12:50 PM 12/27/00 Dan Baker <dan@dtbakerprojects.com> wrote: >> the overhead really isnt that bad... its fast. > >I'm sure it isn't. But I am opposed to paying for something I'm not >going to make use of if there is an easy alternative. Your fears are valid, but not really for speed reasons. Reading the file into an array and then joining that to a scalar means that you'll use twice as much memory as if you had gone directly to the scalar (more than twice, actually, because arrays have some more overhead). Under MacPerl you have to be a bit more memory-conscious than under Unix Perl. Only an issue if the files are big, I guess. ------------------- ------------------- Ken Williams Last Bastion of Euclidity ken@forum.swarthmore.edu The Math Forum # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org