Skip to content

Conversation

@robrwo
Copy link
Contributor

@robrwo robrwo commented Jan 30, 2014

This patch adds an as_uri method that returns a URI::file object, along with some rudimentary tests.

It does not support file URIs for other operating systems (such as Windows).

@kenahoo
Copy link
Owner

kenahoo commented Jan 31, 2014

Thanks. What happens on Windows if you don't set $^O = "Unix"?

@robrwo
Copy link
Contributor Author

robrwo commented Jan 31, 2014

@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.

- Added items for as_uri method to the POD.

- Whitespace cleanup.
@robrwo
Copy link
Contributor Author

robrwo commented Feb 3, 2014

@kenahoo I've added some tests for Win32 as well as POD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants