Re: RFC 14 (v2) Modify open() to support FileObjects and

[email protected] (Jonathan Scott Duff) Thu, 10 Aug 2000 01:10:57 -0500
Newsgroups perl.perl6.language.io
Message-ID <[email protected]>
On Wed, Aug 09, 2000 at 07:26:29PM +0000, Nick Ing-Simmons wrote:
> Graham Barr <[email protected]> writes:
> >On Wed, Aug 09, 2000 at 11:41:42AM -0500, Jonathan Scott Duff wrote:
> >> How about this?
> >> 
> >> 	open '/etc/passwd';		# file
> >
> >OK
> >
> >> 	open '/usr/local/bin/';		# directory (note the trailing '/')
> >
> >Portability, not all platforms use /

Hmm.  So that would be

	open 'file://etc/passwd';
	open 'dir://usr/local/bin';

with the default open method being "file"?

-Scott
-- 
Jonathan Scott Duff
[email protected]