|
Re: URI::file not RFC 1738 compliant?: msg#00006lang.perl.modules.lwp
Bjoern Hoehrmann <derhoermi@xxxxxxx> writes: > Unhandled Exception: System.UriFormatException: Invalid URI: > The format of the URI could not be determined. Ok. URI-1.32 has just been uploaded and it revise how we map filenames to file URIs. Some examples with the new module: $ perl -MURI::file -le 'print URI::file->new("foo", "unix")' foo $ perl -MURI::file -le 'print URI::file->new("/foo", "unix")' file:///foo $ perl -MURI::file -le 'print URI::file->new("foo", "win32")' foo $ perl -MURI::file -le 'print URI::file->new("/foo", "win32")' file:///foo $ perl -MURI::file -le 'print URI::file->new("//h/foo", "win32")' file:////h/foo $ perl -MURI::file -le 'print URI::file->new("c:foo", "win32")' file:///c:foo $ perl -MURI::file -le 'print URI::file->new("c:\\foo", "win32")' file:///c:/foo |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: URI::file not RFC 1738 compliant?: 00006, Bjoern Hoehrmann |
|---|---|
| Next by Date: | Re: URI::file not RFC 1738 compliant?: 00006, Andy Lester |
| Previous by Thread: | Re: URI::file not RFC 1738 compliant?i: 00006, Bjoern Hoehrmann |
| Next by Thread: | Re: URI::file not RFC 1738 compliant?: 00006, Andy Lester |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |