Joe McMahon wrote: > On Sat, 12 Aug 2000, Nathan Wiger wrote: > > > Pick one: > > > > > > 1) Filenames that end with a '/' are directories and those that don't > > > are files. (Both examples are files.) > > > > No, too restrictive. I don't like this and would hate having to remember > > it. > > > Plus the non-"/" separated filename conventions (MacOS in > particular) would not work well with this. "/" has no relationship to > directory in MacOS. Colon, on the other hand, does. Please look at the context of this discussion. We were talking about URL syntax. Of course, the native filename syntax applies to non-URL opens. I don't have any experience with the MacOS filesystem, but the Netscape File|Open Page menu item should be a good model. > I think it's better not to assume anything about directory separator > character. Perhaps a filespec pragma might be useful? > > use filespec MacOS; # Perl now "knows" to use ":" as the > # directory separator Perl should already know how to do native opens (from the perl configure process). Non-native opens should be through URLs. Jon -- Knowledge is that which remains when what is learned is forgotten. - Mr. King
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Casey R. Tweten
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Casey R. Tweten
- Re: RFC 14 (v3) Modify open() to supp... Joe McMahon
- Re: RFC 14 (v3) Modify open() to supp... Jon Ericson
- Re: RFC 14 (v3) Modify open() to supp... Kai Henningsen
- Re: RFC 14 (v3) Modify open() to support FileObjects a... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to support FileObje... Chaim Frenkel
- Re: RFC 14 (v3) Modify open() to support File... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to support ... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Chaim Frenkel
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Chaim Frenkel
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Tim Jenness