Skip Menu |

This queue is for tickets about the IO-All-LWP CPAN distribution.

Report information
The Basics
Id: 47172
Status: open
Priority: 0/
Queue: IO-All-LWP

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

Bug Information
Severity: Wishlist
Broken in: 0.14
Fixed in: (no value)



Subject: Support for file URLs
I'd like support for file URLs.
Subject: Re: [rt.cpan.org #47172] Support for file URLs
Date: Sat, 20 Jun 2009 10:35:30 -0400
To: bug-IO-All-LWP [...] rt.cpan.org
From: Ivan Tubert-Brohman <itub [...] cpan.org>
I think this would require changes to IO::All as well (Ingy, are you reading this?). The normal way of doing this would be to create a module called IO::All::FILE, similar to IO::All::FTP etc. This is trivial and can be done in five minutes. This module should be loaded automatically by IO::All when it sees a file URL. The problem is that there exists already a module called IO::All::File (note the case difference), which causes two problems. One is that this could be a mess in case-insensitive filesystems. But second and perhaps more important is that IO::All tries to load IO::All::File before it tries to load IO::All::FILE. A quick hack for dealing with that is to swap the if and elsif in IO::All::autoload_class() to give higher precedence to all-caps module names. But perhaps Ingy has a more elegant solution in mind. Cheers, Ivan On Sat, Jun 20, 2009 at 12:55 AM, Michael G Schwern via RT<bug-IO-All-LWP@rt.cpan.org> wrote: Show quoted text
> Sat Jun 20 00:55:50 2009: Request 47172 was acted upon. > Transaction: Ticket created by MSCHWERN >       Queue: IO-All-LWP >     Subject: Support for file URLs >   Broken in: 0.14 >    Severity: Wishlist >       Owner: Nobody >  Requestors: mschwern@cpan.org >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=47172 > > > > I'd like support for file URLs. >