Changeset 12723 for docs/Perl6/Perl5

Show
Ignore:
Timestamp:
08/26/06 17:27:37 (2 years ago)
Author:
markstos
Message:

Add a cross reference to help people looking for docs on references to learn about Captures.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/Perl6/Perl5/Differences.pod

    r12704 r12723  
    275275of correct examples.  
    276276 
    277 #=head2 ref is gone 
     277#=head2 references are now Capturers 
     278 
     279C<Capture> objects fill the ecological niche of references in Perl 6. 
     280You can think of them as "fat" references, that is, references that 
     281can capture not only the current identity of a single object, but 
     282also the relative identities of several related objects.  Conversely, 
     283you can think of Perl 5 references as a degenerate form of C<Capture> 
     284when you want to refer only to a single item. 
    278285 
    279286  Was: ref $foo eq 'HASH' 
     
    286293  Now: $foo ~~ 'Code' 
    287294 
    288 The "obsolete" reference above has the details.  
     295The "obsolete" reference above has the details. Also, look 
     296for I<Capture> under L<S02/"Names_and_Variables">. 
    289297 
    290298=end TODO