FYI: https://rt.cpan.org/Ticket/Display.html?id=42139
Minor nit, catfile needed instead of catdir.Also VMS can have a file and a directory that appear to have the same name in UNIX compatible mode, so this test case needs to be skipped, since creating the file can possibly succeed, but not in the way that this test case knows how to deal with.
-John wb8...@gmail.com Personal Opinion Only