Re: RFC 100 (v1) Embed full URI support into Perl
[email protected] (Sam Tregar) Mon, 14 Aug 2000 22:04:42 -0400 (EDT)
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
On 14 Aug 2000, Perl6 RFC Librarian wrote: > $fo = open "C:\Windows\System"; # non-portable > $fo = open "file://C|/Windows/System"; # portable Can you explain how the second is portable to non-Windows systems? What does "C|" mean on my Linux box? > unlink "/local/etc/script.conf"; # non-portable > unlink "file:///local/etc/script.conf";# portable The same goes here. How does this help you when you're on a system with multiple roots from which "local" could be hiding under? How is this better than File::Spec's approach? -sam