Changeset 12723 for docs/Perl6/Perl5
- Timestamp:
- 08/26/06 17:27:37 (2 years ago)
- Files:
-
- 1 modified
-
docs/Perl6/Perl5/Differences.pod (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/Perl6/Perl5/Differences.pod
r12704 r12723 275 275 of correct examples. 276 276 277 #=head2 ref is gone 277 #=head2 references are now Capturers 278 279 C<Capture> objects fill the ecological niche of references in Perl 6. 280 You can think of them as "fat" references, that is, references that 281 can capture not only the current identity of a single object, but 282 also the relative identities of several related objects. Conversely, 283 you can think of Perl 5 references as a degenerate form of C<Capture> 284 when you want to refer only to a single item. 278 285 279 286 Was: ref $foo eq 'HASH' … … 286 293 Now: $foo ~~ 'Code' 287 294 288 The "obsolete" reference above has the details. 295 The "obsolete" reference above has the details. Also, look 296 for I<Capture> under L<S02/"Names_and_Variables">. 289 297 290 298 =end TODO
