Changeset 12921 for docs/Perl6/Perl5

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

[docs/Perl6/Perl5/Differences.pod]
Made the section on twigils actually contain a twigil or two ;-)

Files:
1 modified

Legend:

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

    r12915 r12921  
    5151 
    5252Yes, a twigil. It's the second character in the variable name. For globals, 
    53 it's a C<*> 
     53it's a C<*>; for contextual variables, it's C<+>. 
    5454 
    5555    Was:    $ENV{FOO} 
    56     Now:    %ENV<FOO> 
     56    Now:    %*ENV<FOO> 
     57     Or:    $+FOO # might be overridden, but falls back to %*ENV 
    5758 
    5859For details, see L<S02/"Names and Variables">.