in reply to Re^2: distribution config file
in thread distribution config file

"By the way, I don't think your approach will work in the OP's case.__FILE__ is an alias for $0 as far as I am aware, so this may not contain any path separators at all."

"__FILE__ is the filename at that point in the program." -- Programming Perl.
"$0 is the name of the program being executed." -- perldoc perlvar