Skip to content

Commit

Permalink
clarify that macros can't be called before they're defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Dec 12, 2014
1 parent f03e922 commit 272d12f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions S06-routines.pod
Expand Up @@ -9,8 +9,8 @@ Synopsis 6: Subroutines

Created: 21 Mar 2003

Last Modified: 19 Oct 2014
Version: 163
Last Modified: 12 Dec 2014
Version: 164

This document summarizes Apocalypse 6, which covers subroutines and the
new type system.
Expand Down Expand Up @@ -3142,6 +3142,8 @@ evaluated again, so the two calls below print the same thing:
say f(); # compile-time call to &f
say &f(); # runtime call to &f

A compile-time call to a macro before its definition is erroneous.

=head2 Quasiquoting

In aid of returning syntax tree, Perl provides a "quasiquoting"
Expand Down

0 comments on commit 272d12f

Please sign in to comment.