Re: RFC 14 (v3) Modify open() to support FileObjects and
[email protected] (Nathan Wiger) Mon, 14 Aug 2000 14:54:01 -0700
| Newsgroups | perl.perl6.language.io |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
> open "http://my.homepage.com"; # the file Well, I think this is a bit of an edge case. If you really have a file named this, it would have to be in UNIX, named: http:/my.homepage.com So, you'd have a UNIX directory named "http:" containing the file "my.homepage.com". The double // will get resolved because UNIX is nice to you. But other OSes (at least Windows) won't let you even create such a file. However, I would argue that if you're creating files like this you may be in the need of psychiatric help.* :-) And I don't think it's a compelling enough argument to avoiding integrating URI support into Perl. Cheers, Nate P.S. The *'ed part is meant in a joking manner, please take it lightheartedly. :-)