Changeset 12915 for docs/Perl6/Perl5

Show
Ignore:
Timestamp:
09/01/06 01:05:31 (2 years ago)
Author:
markstos
Message:

Add mention of using "is new" to section on references in Differences.pod

Files:
1 modified

Legend:

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

    r12865 r12915  
    283283L<S29/"Obsolete"> 
    284284 
    285 =begin TODO 
    286  
    287 The new syntax didn't test out to work. Waiting on confirmation 
    288 of correct examples.  
    289  
    290 #=head2 references are now Captures 
     285=head2 references are gone / everything is a reference 
    291286 
    292287C<Capture> objects fill the ecological niche of references in Perl 6. 
     
    306301  Now: %h = ( k => @a ); 
    307302 
     303To pass an argument to modify by reference: 
     304 
     305  Was: sub foo {...};        foo(\$bar)  
     306  Now: sub foo ($bar is rw); foo($bar)   
     307 
    308308The "obsolete" reference above has the details. Also, look for 
    309309I<Capture> under L<S02/"Names_and_Variables">, or at the Capture FAQ, 
    310310L<Perl6::FAQ::Capture>. 
    311  
    312 =end TODO 
    313311 
    314312=head2 say()