when i enter "script.pl file" the code croaks with any of these certain files, i am more than certain the file isnt corrupt. maybe it is because im on windows or missing a module. im using perl 5.16.3. anyway i will continue on with my code. thanks for sharing!