> > read(FILE, $file, -s FILE); > > Oooh, very cute. So does this work on Windows? -s returns the number > of bytes in the file, but does read() want a character count or a byte > count? camel, p. 202: ...LENGTH bytes of data into variable SCALAR from the specified FILEHANDLE. read is pretty much a front end onto fread so far as i know (at least that what blows up in the traces i've run trying to move 150GB files through a 32-bit clean copy of perl :-). ditto for sysread. -- Steven Lembark 2930 W. Palmer St. Chicago, IL 60647 lembark@wrkhors.com 800-762-1582 ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe