Changeset 12741 for docs/Perl6/Perl5
- Timestamp:
- 08/26/06 23:07:32 (2 years ago)
- Files:
-
- 1 modified
-
docs/Perl6/Perl5/Differences.pod (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/Perl6/Perl5/Differences.pod
r12725 r12741 275 275 of correct examples. 276 276 277 #=head2 references are now Capture rs277 #=head2 references are now Captures 278 278 279 279 C<Capture> objects fill the ecological niche of references in Perl 6. … … 287 287 Now: $foo ~~ 'Hash' 288 288 289 Was: ref $foo eq 'ARRAY'290 Now: $foo ~~ 'Array'291 292 Was: ref $foo eq 'CODE'293 Now: $foo ~~ 'Code'289 Was: @new = (ref $old eq 'ARRAY' ) ? @$old : ($old); 290 Now: @new = @$old; 291 292 Was: %h = ( k => \@a ); 293 Now: %h = ( k => @a ); 294 294 295 295 The "obsolete" reference above has the details. Also, look for
