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

2000-08-16 Thread Nick Ing-Simmons
Chaim Frenkel [EMAIL PROTECTED] writes: What about native extensions? I think VMS (and the old TOPS10) had versions as part of the file name. Do URIs have this capablity? And what does a read of a directory return? URIs or Native? Relative URIs I assume - what are (hopefully) indistinguishable

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

2000-08-10 Thread Piers Cawley
Nick Ing-Simmons [EMAIL PROTECTED] writes: 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

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

2000-08-10 Thread Nathan Wiger
How about this? open '/etc/passwd'; # file open '/usr/local/bin/'; # directory (note the trailing '/') open 'ftp://ftp.perl.org/'; # ftp open 'http://www.yahoo.com/'; # http open 'ldap://ldap.bigfoot.com/';# ldap I think

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

2000-08-10 Thread Nathan Wiger
This is nutso... shall we open-ssh and open-telnet and open-any_protocal_under_the_sun in the core? Well, just because the hooks are there doesn't mean all the member modules have to be in core. The idea would be, as Tom Hughes suggests: That is if the core provides a way for modules to

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

2000-08-09 Thread Nick Ing-Simmons
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

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

2000-08-09 Thread Tom Hughes
In message [EMAIL PROTECTED] Graham Barr [EMAIL PROTECTED] wrote: On Wed, Aug 09, 2000 at 11:41:42AM -0500, Jonathan Scott Duff wrote: open 'ftp://ftp.perl.org/'; # ftp What user/password does it use Whatever you put in the URL with anonymous as default. open

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

2000-08-09 Thread Tom Hughes
In message [EMAIL PROTECTED] Tom Hughes [EMAIL PROTECTED] wrote: The suggested syntax does not necessarily conflict with the above - the core might spot the xxx: scheme and try and load an xxx.pm from some well known path and hand off the open to that module. To follow up to

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

2000-08-09 Thread Jonathan Scott Duff
On Wed, Aug 09, 2000 at 07:26:29PM +, 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