>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 After investigating this a little futher, I found that the filename that caused this error had a space in front of it... The filename is valid under the mac OS. Is this a MacPerl bug??? dave