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;};
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
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
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
"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
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
"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
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