I'm writing a script using MacPerl to check the validity of local hrefs in html files for a CD-ROM my company is producing. I loop through all directories and their subdirectories (600mb+) and parse all .htm files... My question is: what is a "chunk 27 error"? When I did this: <snip> foreach $file (<*.htm>) { open (THEFILE,$file) || die "Could not open $file" while (<THEFILE>) { s/\n//g; while (/<A *HREF *\= *"*([^>]+)"* *> *(.+?)<\/A>/gi) { $numlinks++; </snip> I got this error: <snip> # Could not open TOC.HTM. File '...'; Line 272 # <THEFILE> chunk 27 <--- :/CIVILWAR/LIBCONG/ TOC.HTM </snip> Any ideas?? thank you dave