Use Cwd::realpath instead of rel2abs because rel2abs doesn't work