I am editing a script that uses strict which contains a subroutine that list the files in a $directory. I moved this subroutine into a seperate file and require it in the main script. Now the $directory, that was declared as "my" in the main script, doesnt seem to get passed to the subroutine because the script errors out, telling me that it cant open the directory "" (of course). I dont have much hair left to pull out, so somebody throw me a line, huh? please.