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.
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
use filespec VMS; # include versioning, etc
use filespec; # slash as "usual" (?)
and so on.
--- Joe M.
- 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... 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
