I am writing a Catalyst application, that needs to access several files. Currently I'm doing this by using absolute paths.
Now I would like to use path names that are relative to the directory where the applications main module (myApp.pm) is. How can I find this directory?
Update:
When I run the app under mod_perl, cwd returns "\xampp\apache",
$Findbin::Bin returns "\xampp\apache\bin" and
$0 returns "\xampp\apache\bin\apache.exe",