develooper Front page | perl.perl6.language.io | Postings from August 2000

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

Thread Previous | Thread Next
From:
Jonathan Scott Duff
Date:
August 9, 2000 23:04
Subject:
Re: RFC 14 (v2) Modify open() to support FileObjects and
Message ID:
20000810011057.B14471@cbi.tamucc.edu
On Wed, Aug 09, 2000 at 07:26:29PM +0000, Nick Ing-Simmons wrote:
> Graham Barr <gbarr@pobox.com> 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
duff@cbi.tamucc.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About