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

[email protected] (Nick Ing-Simmons) Wed, 09 Aug 2000 19:26:29 +0000
Newsgroups perl.perl6.language.io
Message-ID <E13MbUj-00013V-00@roam1>
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 /

Allowing URI/URL syntax can perhaps dodge the "portability" issue 
URLs use / so if user thinks URL they think /.

-- 
Nick Ing-Simmons