If you just want to grab a chunk from the beginning of the file, this might also be an option... $file = "Mac HD:foo.txt"; open (FILE, "<$file"); read(FILE,$buffer,256); close (FILE); $buffer now holds the first 256 bytes of the file, you can put the 'read' in a loop to read more if neccessary... Pete pprodoehl@qgraph.com http://www.quadcreative.com/ ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org