Author: lwall Date: 2009-02-21 01:04:02 +0100 (Sat, 21 Feb 2009) New Revision: 25469
Modified: docs/Perl6/Spec/S06-routines.pod Log: rm some fossils from quasi Modified: docs/Perl6/Spec/S06-routines.pod =================================================================== --- docs/Perl6/Spec/S06-routines.pod 2009-02-20 23:40:26 UTC (rev 25468) +++ docs/Perl6/Spec/S06-routines.pod 2009-02-21 00:04:02 UTC (rev 25469) @@ -13,9 +13,9 @@ Maintainer: Larry Wall <la...@wall.org> Date: 21 Mar 2003 - Last Modified: 4 Jan 2009 + Last Modified: 20 Feb 2009 Number: 6 - Version: 100 + Version: 101 This document summarizes Apocalypse 6, which covers subroutines and the @@ -2475,7 +2475,7 @@ return quasi { say "foo" }; -Modifiers to the C<:code> adverb can modify the operation: +Modifiers to the C<quasi> can modify the operation: :ast(MyAst) # Default :ast(AST) :lang(Ruby) # Default :lang($?PARSER) @@ -2495,7 +2495,7 @@ moose(); # resolves to 'my $x' If you want to mention symbols from the scope of the macro call, use the -import syntax as modifiers to C<:code>: +import syntax as modifiers to C<quasi>: :COMPILING<$x> # $x always refers to $x in caller's scope :COMPILING # All free variables fallback to caller's scope