Permalink
Browse files

add .args and .arg to Parcel

  • Loading branch information...
1 parent 949c62a commit 9f5a96874c5addfa739323bbbd147e1d382256a8 @TimToady TimToady committed May 30, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 S07-lists.pod
View
@@ -13,8 +13,8 @@ Synopsis 7: Lists and Iteration
Created: 12 July 2012
- Last Modified: 12 July 2012
- Version: 1
+ Last Modified: 29 May 2013
+ Version: 2
=head1 Overview
@@ -68,7 +68,8 @@ that creates C<Parcel> objects.
A C<Parcel> is also C<Positional>, and uses flattening context for
list operations such as C<.[]> and C<.elems>. See "Flattening contexts"
-below.
+below. For raw access to the arguments without flattening, you may use
+C<.arg($n)> instead of C<.[$n]>, and C<.args> instead of C<.elems>.
=head2 Flattening contexts, the C<Iterable> type

0 comments on commit 9f5a968

Please sign in to comment.