Skip to content

Commit 9f5a968

Browse files
committed
add .args and .arg to Parcel
1 parent 949c62a commit 9f5a968

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

S07-lists.pod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Synopsis 7: Lists and Iteration
1313

1414
Created: 12 July 2012
1515

16-
Last Modified: 12 July 2012
17-
Version: 1
16+
Last Modified: 29 May 2013
17+
Version: 2
1818

1919
=head1 Overview
2020

@@ -68,7 +68,8 @@ that creates C<Parcel> objects.
6868

6969
A C<Parcel> is also C<Positional>, and uses flattening context for
7070
list operations such as C<.[]> and C<.elems>. See "Flattening contexts"
71-
below.
71+
below. For raw access to the arguments without flattening, you may use
72+
C<.arg($n)> instead of C<.[$n]>, and C<.args> instead of C<.elems>.
7273

7374
=head2 Flattening contexts, the C<Iterable> type
7475

0 commit comments

Comments
 (0)