use FindBin; my $path = "unterverzeichnis/zum/script/"; my $realPath = $FindBin . "/" . $path;