I am relatively new to Perl & have an exam i need help with. I have to analyse a text file for word/line/character stats. I need to check if it is in MS-DOS format and the filename needs to be 8 or less characters, starting with a letter or underscore. Can somebody please help, it would be much appreciated.