in reply to Unix-Windows pathnames

You should have read the full perldoc page:
$path = File::Spec->catdir(home, me, test);