develooper Front page | perl.perl5.porters | Postings from October 2012

Re: CPAN.pm on VMS: (was Re: [Round 2] Taking CPANPLUS out of core)

Thread Previous
From:
Leon Timmermans
Date:
October 1, 2012 05:11
Subject:
Re: CPAN.pm on VMS: (was Re: [Round 2] Taking CPANPLUS out of core)
Message ID:
CAHhgV8gqHJvM5Uwq+qr_rtOFaPzqd7M__QcwtvRNJOAFDN4EhQ@mail.gmail.com
On Mon, Oct 1, 2012 at 4:03 AM, Craig A. Berry <craig.a.berry@gmail.com> wrote:
> Converting $_ to Unix format would be a start, though using
> File::Spec->catdir($_, '.cpan') could also work, depending on what
> else is going to be done with that directory specification.  Typically
> we would also need to name the directory _cpan instead of .cpan
> because (by default) you can't have a directory name that has a dot in
> it.

Yeah, that seems to be the common source of VMS non-compatibility.
Perhaps some helper function for File::Spec would be useful, e.g.
«File::Spec->catdir($_, File::Spec->hidden('cpan'))»

Leon

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About