Re: RFC 14 (v2) Modify open() to support FileObjects and
[email protected] (Nathan Wiger) Sat, 05 Aug 2000 22:56:02 -0700
| Newsgroups | perl.perl6.language.io |
|---|---|
| Message-ID | <[email protected]> |
> If it is possible to get both the higher level and the lower level > implementation layers to be active at the same time would be great. > > But don't lose the access to the bare metal. Sorry, looks like I should have included an example on sysopen(): # Open files like sysopen() $fo = open $file, IO::File, O_CREAT, 0644; This is similar to how FileHandle opens files, providing a sysopen interface if the system args are passed. We could make sysopen() a shortcut to this, or remove it outright (I probably prefer the former). I agree, we should keep syswrite(), sysread(), and so on intact. Either that or, as you suggest, find a way to integrate system-level and higher-level stuff together. -Nate