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-distracting
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 :noreplace;
If an array element knows that it is an array element, this can be
useful:
for @foo { push @bar, .splice if EXPR }
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 array?
Do we have a :) operator yet?
Juerd
-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 nothing but
Larry Wall [EMAIL PROTECTED] writes:
1 .. (some_big_hairy_expression)
^: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