Re: enhanced open-funktion

2004-07-17 Thread Jonadab the Unsightly One
Larry Wall <[EMAIL PROTECTED]> writes: > 1 .. () > ^:by(3) > > But we'd have to pay really close attention to how indenting is > done. Maybe we should just pass this suggestion on to Guido... :-) Yes, please leave column-alignment tricks to Python. I don't even like the fact that ind

RE: :)

2004-07-17 Thread Austin Hastings
> -Original Message- > From: Juerd [mailto:[EMAIL PROTECTED] > Sent: Saturday, 17 July, 2004 01:53 PM > To: [EMAIL PROTECTED] > Subject: :) > > > Do we have a :) operator yet? > It's an adverbial modifier on the core expression type. Does nothing, but it acts as a line terminator when nothi

:)

2004-07-17 Thread Juerd
Do we have a :) operator yet? Juerd

Re: push @bar, .splice;

2004-07-17 Thread Juerd
Dave Mitchell skribis 2004-07-17 18:24 (+0100): > On Sat, Jul 17, 2004 at 06:53:28PM +0200, Juerd wrote: > > If an array element knows that it is an array element, this can be > > useful: > > for @foo { push @bar, .splice if EXPR } > What happens if the element is an element of more than one ar

Re: push @bar, .splice;

2004-07-17 Thread Dave Mitchell
On Sat, Jul 17, 2004 at 06:53:28PM +0200, Juerd wrote: > If an array element knows that it is an array element, this can be > useful: > > for @foo { push @bar, .splice if EXPR } What happens if the element is an element of more than one array? -- A power surge on the Bridge is rapidly and c

push @bar, .splice;

2004-07-17 Thread Juerd
If an array element knows that it is an array element, this can be useful: for @foo { push @bar, .splice if EXPR } Juerd

Re: enhanced open-funktion

2004-07-17 Thread Jonadab the Unsightly One
Luke Palmer <[EMAIL PROTECTED]> writes: > my $fh = open ">$filename" :excl; Can we please not name it with a random character generator? How about something that communicates what it does in some fashion, at least well enough to function as a mnemonic? my $fh = open $filename :rw :norepla

Re: scalar subscripting

2004-07-17 Thread Jonadab the Unsightly One
Larry Wall <[EMAIL PROTECTED]> writes: > And if we do that, I guess that means that "$«file».ext" could be > made to work as a replacement, which seems conceptually clean if you > don't think about it too hard. Now that you put it that way, $( $file ).ext doesn't seem so bad, the visually-distrac