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

2000-08-09 Thread Jon Ericson
Chaim Frenkel wrote: What does $foo = "filename";# 1 $bar = "another"; $gaz = "filename; # 2 ^ add " here Does #2 get the second line or the first? $gaz contains the second line. Otherwise this: while ('filename'){print;};

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 51 (v2) Angle brackets should accept filenames a

2000-08-09 Thread Chaim Frenkel
"JE" == Jon Ericson [EMAIL PROTECTED] writes: @foo = lazy grep while( @foo ) { ... } JE What does lazy grep do? How does this apply? lazy would set the rest of arguments to be lazily evaluated. An iterator that would call the function until the results are exhusted. chaim -- Chaim

Re: RFC 69 (v1) Standardize input record separator (for

2000-08-09 Thread Bryan C . Warnock
On Wed, 09 Aug 2000, Chaim Frenkel wrote: BCW Isn't that what the nebulous line disciplines are supposed to handle? Has anyone taken on RFCing line disciplines? I haven't seen anything on them, but everyone seems to be in agreement that we're going to have them. If no one else wants to bite

Re: Summary of I/O related RFCs

2000-08-09 Thread Chaim Frenkel
"JE" == Jon Ericson [EMAIL PROTECTED] writes: JE =item 33 (v1): Eliminate bareword filehandles. (language) JE No discussion. I think it carried unanimously. JE =item 36 (v1): Structured Internal Representation of Filenames JE (internal) JE No discussion of the proposal that "Wherever Perl

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