Bjoern Hoehrmann <[EMAIL PROTECTED]> 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

Reply via email to