Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 105511
Status: resolved
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: craigberry [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 3.30_1



Subject: [PATCH] catdir is for directories
Date: Fri, 26 Jun 2015 14:18:52 -0500
To: bug-Pod-Simple [...] cpan.org
From: "Craig A. Berry" <craigberry [...] mac.com>
When 3.30 came into blead a bunch of tests started failing on VMS because there were new uses of File::Spec::catdir for paths that are not directories and this produced directory names that did not exist rather than the desired filenames. The attached patch either changes those to catfile or, where possible, eliminates the use of File::Spec altogether. If you have control over all of the components, you might as well just use Unix syntax as that’s understood by Unix, VMS, and Windows. You only need to use File::Spec to concatenate paths when one or more of the components is in native syntax, such as the return value of Cwd::cwd(). Show quoted text
________________________________________ Craig A. Berry mailto:craigberry@mac.com "... getting out of a sonnet is much more difficult than getting in." Brad Leithauser

Message body is not shown because sender requested not to inline it.