Skip Menu |

This queue is for tickets about the XAO-Base CPAN distribution.

Report information
The Basics
Id: 27728
Status: rejected
Priority: 0/
Queue: XAO-Base

People
Owner: Nobody in particular
Requestors: stro [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Win32 filenames and BaseConfig
This code works wrong on MSWin32 systems: $dir=~/^\// || throw XAO::E::BaseConfig "set_root - $dir must be an absolute path"; Regexp should be /^(w:)?[\/\\]/ to work there as expected. -- Serguei Trouchelle
Subject: Re: [rt.cpan.org #27728] Win32 filenames and BaseConfig
Date: Mon, 25 Jun 2007 11:13:49 -0700
To: bug-XAO-Base [...] rt.cpan.org
From: "Andrew Maltsev" <andrew.maltsev [...] gmail.com>
Thanx, I add something like you what suggest. XAO::Base on CPAN is a bit outdated, I'll try to upload a new version soon together with this fix. I'm just curious, is this the only thing that prevents it from working under Windows? I never tried it and nobody reported any success/failures for Windows yet. What do you use it for -- XAO::FS or XAO::Web functionality? If I may ask... Andrew. On 6/25/07, Serguei Trouchelle via RT <bug-XAO-Base@rt.cpan.org> wrote: Show quoted text
> > > Mon Jun 25 11:01:58 2007: Request 27728 was acted upon. > Transaction: Ticket created by STRO > Queue: XAO-Base > Subject: Win32 filenames and BaseConfig > Broken in: (no value) > Severity: Important > Owner: Nobody > Requestors: STRO@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=27728 > > > > This code works wrong on MSWin32 systems: > > $dir=~/^\// || > throw XAO::E::BaseConfig "set_root - $dir must be an absolute > path"; > > Regexp should be /^(w:)?[\/\\]/ to work there as expected. > > -- > Serguei Trouchelle >
This is a very old issue that won't get fixed any time soon, sorry. Unless there is a complete patch of course. I suspect a lot of things from XAO::* are not really compatible with Windows. Nowadays it's easier to just run a linux docker container under windows serving a web site off of a windows directory if necessary.