Piers Cawley writes:
: Consider the following.
:
:sub foo {...}
:
:foo *@ary;
:foo * ary;
:
: Is this another place where whitespace will have meaning? Or should I
: add parentheses to disambiguate? Enquiring minds want to know.
I see no ambiguity. It's a unary * in either case.
Damian Conway wrote:
BUGS
Unlikely, since it doesn't actually do anything. However,
bug reports and other feedback are most welcome.
Bug:
don't { die } unless .error;
doesn't DWIM (though the current behavour, do nothing, is
logically correct).
Dave.
From: David Whipp [EMAIL PROTECTED]
don't { die } unless .error;
Whoa. This don't thing is starting to look eerily useful. Shades of the
Parrot parody.
-Miko
On Fri, May 03, 2002 at 11:13:45AM -0700, David Whipp wrote:
Damian Conway wrote:
BUGS
Unlikely, since it doesn't actually do anything. However,
bug reports and other feedback are most welcome.
Bug:
don't { die } unless .error;
doesn't DWIM (though the current behavour,
It's also unnecessary. The Holy Scoping Rules actually work in your favour in
this case. In Perl 6 you can just do this:
while my $cond = blah() {
...
}
and C$cond is defined *outside* the block.
Question then. Does the following code compile?
while my $i =
Allison Randal wrote:
You know, I almost made a very similar reply. But I read through
Damian's message a second time and changed my mind. CBETWEEN makes
sense as a CNEXT minus CLAST. As a CPRE minus CFIRST it's less
appealing. At the very least it begs a different name than BETWEEN (a
name