FAQ
Hi,

I got a report of some VMS problems in File::Spec, and I put together
this patch relative to 3.17:

http://rt.cpan.org/Ticket/Display.html?id=18846

Could someone on VMS check it out? Thanks.

-Ken

Search Discussions

  • John E. Malmberg at Apr 23, 2006 at 4:59 am

    Ken Williams wrote:
    Hi,

    I got a report of some VMS problems in File::Spec, and I put together
    this patch relative to 3.17:

    http://rt.cpan.org/Ticket/Display.html?id=18846

    Could someone on VMS check it out? Thanks.
    I will see if I can find some time tomorrow. I have a long list of
    issues with VMS file parsing problems that I am working through.

    Can you find a way so that '^.' is not treated as '.'? For a quick fix,
    if the ^ character precedes any thing that is a non Alpha-numeric, then
    that that character is not treated as a delimiter in a file
    specification. Treat '^' in a VMS specification like '\' in a UNIX
    style string.

    Getting File::Spec to understand that would help a lot.

    -John
    wb8tyw@qsl.network
    Personal Opinion Only
  • Ken Williams at Apr 24, 2006 at 3:40 pm

    On Apr 22, 2006, at 11:59 PM, John E. Malmberg wrote:

    Ken Williams wrote:
    Hi,
    I got a report of some VMS problems in File::Spec, and I put
    together this patch relative to 3.17:
    http://rt.cpan.org/Ticket/Display.html?id=18846
    Could someone on VMS check it out? Thanks.
    I will see if I can find some time tomorrow. I have a long list of
    issues with VMS file parsing problems that I am working through.

    Can you find a way so that '^.' is not treated as '.'? For a quick
    fix, if the ^ character precedes any thing that is a non Alpha-
    numeric, then that that character is not treated as a delimiter in
    a file specification. Treat '^' in a VMS specification like '\' in
    a UNIX style string.

    Getting File::Spec to understand that would help a lot.
    The main obstacle to me doing stuff like that is that VMS::Filespec
    doesn't load on non-VMS machines. I'd say that's perhaps an even
    bigger priority, so that the rest of the world can test the VMS stuff
    and squash bugs, etc.

    -Ken
  • Ken Williams at Apr 24, 2006 at 9:15 pm

    On Apr 22, 2006, at 9:29 PM, Ken Williams wrote:

    Hi,

    I got a report of some VMS problems in File::Spec, and I put
    together this patch relative to 3.17:

    http://rt.cpan.org/Ticket/Display.html?id=18846
    The OP for that issue made a correction, the new section in t/Spec.t
    should be:

    [ "VMS->catfile('0','b','c')", '[.0.b]c' ],
    [ "VMS->catfile('a','0','c')", '[.a.0]c' ],
    [ "VMS->catfile('a','b','0')", '[.a.b]0' ],
    [ "VMS->catfile('0','0','c')", '[.0.0]c' ],
    [ "VMS->catfile('a','0','0')", '[.a.0]0' ],
    [ "VMS->catfile('0','b','0')", '[.0.b]0' ],
    [ "VMS->catfile('0','0','0')", '[.0.0]0' ],

    Originally it was missing the '.' at the beginning of the directory
    portions for the output.

    -Ken
  • Craig A. Berry at Apr 27, 2006 at 5:38 am

    At 4:14 PM -0500 4/24/06, Ken Williams wrote:
    On Apr 22, 2006, at 9:29 PM, Ken Williams wrote:

    Hi,

    I got a report of some VMS problems in File::Spec, and I put together this patch relative to 3.17:

    http://rt.cpan.org/Ticket/Display.html?id=18846
    The OP for that issue made a correction, the new section in t/Spec.t should be:

    [ "VMS->catfile('0','b','c')", '[.0.b]c' ],
    [ "VMS->catfile('a','0','c')", '[.a.0]c' ],
    [ "VMS->catfile('a','b','0')", '[.a.b]0' ],
    [ "VMS->catfile('0','0','c')", '[.0.0]c' ],
    [ "VMS->catfile('a','0','0')", '[.a.0]0' ],
    [ "VMS->catfile('0','b','0')", '[.0.b]0' ],
    [ "VMS->catfile('0','0','0')", '[.0.0]0' ],

    Originally it was missing the '.' at the beginning of the directory portions for the output.
    Sorry for the slow reply, but yes, this passes all the File::Spec
    tests when dropped into a fairly recent bleadperl.
    --
    ________________________________________
    Craig A. Berry
    mailto:craigberry@mac.com

    "... getting out of a sonnet is much more
    difficult than getting in."
    Brad Leithauser
  • Ken Williams at Apr 28, 2006 at 2:59 am

    On Apr 27, 2006, at 12:38 AM, Craig A. Berry wrote:

    Sorry for the slow reply, but yes, this passes all the File::Spec
    tests when dropped into a fairly recent bleadperl.
    Thanks, I'll roll a release together then.

    -Ken

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedApr 23, '06 at 2:30a
activeApr 28, '06 at 2:59a
posts6
users3
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase