in reply to Regexp question

comment out your regexp line and insert a line above it: print $path; that way your program should run, and print the value of $path which looks like being undef in your case. Chris