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

2000-08-11 Thread Johan Vromans
Nathan Wiger <[EMAIL PROTECTED]> writes: >open 'http://www.yahoo.com/'; >open 'https://www.etrade.com/';# what module? https? > > No matter what, you're going to have to embed something in there that > decides for you what todo. What if an "httpx:" method comes out?? Will > Perl

Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-11 Thread hao
Since what I proposed is obviously the wrong thing to do, I'm wondering whether I should try redrafting RFC 69 or withdrawing it completely, after which hopefully someone else will make a better proposal. Please let me know. Thanks. -Hao

Re: Internal Filename Representations (was Re: Summary of I/O related RFCs)

2000-08-11 Thread Jarkko Hietaniemi
On Fri, Aug 11, 2000 at 02:16:31AM -0700, Nathan Wiger wrote: > [cc'ed on internals as FYI] > > > =item 36 (v1): Structured Internal Representation of Filenames > > I think this should be discussed a good amount. I think URIs are cool, > but too much trouble for simple stuff. I don't want to hav

Re: RFC 51 (v2) Angle brackets should accept filenames a

2000-08-11 Thread Dave Storrs
On 9 Aug 2000, Chaim Frenkel wrote: > > "JE" == Jon Ericson <[EMAIL PROTECTED]> writes: > > JE> Chaim Frenkel wrote: > >> What does > >> > >> $foo = <"filename">;# 1 > >> $bar = <"another">; > >> $gaz = <"filename">; # 2 > > >> Does #2 get the second line or the first? > > JE> $

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

2000-08-11 Thread Jon Ericson
Perl6 RFC Librarian wrote: ># Open a remote webpage >$http = open http "http://www.perl.com/", GET; ^ >@doc = <$http>; >print @doc if $http->content_type eq 'text/html'; >close $http; This open seems awfully crufty to me. The U

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

2000-08-11 Thread Nathan Wiger
> ># Open a remote webpage > >$http = open http "http://www.perl.com/", GET; > ^ 1) > The URL says that it's a http resource, so why do we have > to tell open to use a http handler? a) Allows custom handlers: open myhttp "http://ww

Re: Line disciplines (was Re: RFC 69 (v3) Standardize input record separator)

2000-08-11 Thread Bart Lateur
On Fri, 11 Aug 2000 10:31:55 -0400 (EDT), [EMAIL PROTECTED] wrote: >Since what I proposed is obviously the wrong thing to do, I'm >wondering whether I should try redrafting RFC 69 or withdrawing it >completely, after which hopefully someone else will make a better >proposal. Please let me know.

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

2000-08-11 Thread Jon Ericson
Nathan Wiger wrote: > 1) > The URL says that it's a http resource, so why do we have >> to tell open to use a http handler? > > a) Allows custom handlers: > >open myhttp "http://www.perl.com/"; Explicitly register custom handles: use myhttp; register open, 'http' => myhttp::new;

Re: Internal Filename Representations (was Re: Summary of I/O related RFCs)

2000-08-11 Thread David L. Nicol
> > > > I think this should be discussed a good amount. I think URIs are cool, > > but too much trouble for simple stuff. I don't want to have to write > > "file:///etc/motd" everytime I want to address a file. Too cumbersome. Why not extend C to be able to take other things besides strings of

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

2000-08-11 Thread Nathan Wiger
> If not, you can always C. Not under the RFC! :-) It calls for removal of opendir and lots of other functions as being deletable because the new open can handle directories, system calls, and so on. In another email you asked: > Why not extend C to be able to take other things besides > string

Re: Internal Filename Representations (was Re: Summary of I/O related RFCs)

2000-08-11 Thread Chaim Frenkel
Here's a list of attributes that I found in my old Symbolics Reference Guide to Streams, FIles, and I/O. (March 1985) Host Device Directory Name Type Version Plus it needs to handle cross-system support. How to specify the name of a unix file when

RFC 14 (v3) Modify open() to support FileObjects and

2000-08-11 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Modify open() to support FileObjects and Extensibility =head1 VERSION Maintainer: Nathan Wiger <[EMAIL PROTECTED]> Date: 04 Aug 2000 Last-Modified: 11 Aug 2000 Version: 3 Mailing List: [EMAIL

Internal Filename Representations (was Re: Summary of I/O related RFCs)

2000-08-11 Thread Nathan Wiger
[cc'ed on internals as FYI] > =item 36 (v1): Structured Internal Representation of Filenames I think this should be discussed a good amount. I think URIs are cool, but too much trouble for simple stuff. I don't want to have to write "file:///etc/motd" everytime I want to address a file. Too cumb