The great "let's try and fit all the perl6 ideas into perl5" stampede
is on. Who wants to be next? ;-)
----- Forwarded message from Nicholas Clark <[EMAIL PROTECTED]> -----
From: Nicholas Clark <[EMAIL PROTECTED]>
Subject: ... statement for code examples
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Sat, 30 Sep 2000 16:00:52 +0100
Someone at YAPC::Europe mentioned something about a ... statement that would
allow example code such as
if ($foo) {
# Do something
...
}
be syntactically legal, but a run time error. This allows you to put your
sample code into perl to syntax check it.
Here's a prototype patch for 5.6 that implements this. It makes ... in the
context of statement a synonym for "die 'Unfinished code marked by ...';"
[snip!]
----- End forwarded message -----
Leon
--
Leon Brocard.............................http://www.astray.com/
yapc::Europe............................http://yapc.org/Europe/
... Where has all that spare time just come from? ;-)