Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

P5ism in S02

2 views
Skip to first unread message

Moritz Lenz

unread,
Aug 13, 2008, 1:52:52 PM8/13/08
to Perl6
I discovered a small p5ism in S02. Patch below. (My copy of S02 might be
a bit out of date, though. Sorry, I've been offline for a while).

--- Syntax.pod.old 2008-08-13 19:48:21.000000000 +0200
+++ Syntax.pod 2008-08-13 19:48:25.000000000 +0200
@@ -2447,7 +2447,7 @@

qw /a b c/; # P5-esque qw// meaning q:w
Qc '...{$x}...'; # Q:c//, interpolate only closures
- qqx/$cmd @args/ # equivalent to P5's qx//
+ qqx/$cmd @args[]/ # equivalent to P5's qx//

(Note that C<qx//> doesn't interpolate.)

--
Moritz Lenz
http://moritz.faui2k3.org/ | http://perl-6.de/

0 new messages