Changeset 12922 for docs/Perl6/Perl5

Show
Ignore:
Timestamp:
09/01/06 09:53:41 (2 years ago)
Author:
trey
Message:

[Differences.pod]
Fixed section on quotes to refer to the
quotes they were referring to....

Files:
1 modified

Legend:

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

    r12921 r12922  
    105105Some highlights: 
    106106 
    107 =head2 q(), qq(), etc have changed 
    108  
    109     Was:    q(foo) 
     107=head2 qw() has a customary form; new interpolating form 
     108 
     109    Was:    qw(foo) 
    110110    Now:    <foo> 
    111111 
    112     Was:    qq(foo) 
    113     Now:    <<foo>> 
     112    Was:    ("foo", (split /s+/, $bar), "bat") 
     113    Now:    <<foo $bar bat>> 
     114 
     115Quoting operators now have modifiers that can be used with them (much 
     116like regexes and substitutions in Perl 5), and you can even define 
     117your own quoting operators.  See S03 for details. 
    114118 
    115119=cut