in reply to Use of uninitialized value $file in concatenation

Do you expect $file to be undefined? If so, start printing variable values (Tip #2 from the Basic debugging checklist).

Also, read Writeup Formatting Tips again, and post readable code in "code" tags.

  • Comment on Re: Use of uninitialized value $file in concatenation