Changeset 9984 for docs/Perl6/FAQ
- Timestamp:
- 04/17/06 17:50:40 (3 years ago)
- Files:
-
- 1 modified
-
docs/Perl6/FAQ/Capture.pod (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docs/Perl6/FAQ/Capture.pod
r9976 r9984 53 53 54 54 # extracting a specific positional argument 55 say "The color is $car_cap[1]"; # black55 say "The thing is $car_cap[0]"; # Model T 56 56 57 57 # or by name 58 58 say "It has $car_cap<doors> doors" # 2 doors 59 60 =head3 Since a Capture is immutable (see below), how did C<$car_cap> gain knowledge of the default color of the car?61 59 62 60 =head3 How do I extract all positional arguments or all named arguments?
