Open robrwo opened 10 years ago
Thanks. What happens on Windows if you don't set $^O = "Unix"
?
@kenahoo I'm not sure. I think it should get the OS from the object (if it can) and pass that the URI::file.
I also realise that I forgot to add POD for the method.
@kenahoo I've added some tests for Win32 as well as POD.
This patch adds an
as_uri
method that returns aURI::file
object, along with some rudimentary tests.It does not support file URIs for other operating systems (such as Windows).