in reply to Read a static file from module directory
If you know that it'll always be in the same directory as the Foo module you could look in $INC{Foo.pm} and use File::Basename to extract a directory name.