Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 5, 2013
  1. correct documentation of postfix glob deref

    authored
    thanks, mst
  2. preliminary postfix dereference docs

    authored
    This commit adds an overview of the feature to perlref and a pointer
    to the section in perlref to perlop's documentation of the arrow.
    
    If/when this feature becomes non-experimental, the documentation
    should be merged upward into Using References.
    
    This documentation was written against a previous state of the
    branch.  Is should be fact-checked before any merge.
  3. Fix a bug with ->@ inside "@{...}"

    Father Chrysostomos authored committed
    When encountering ->@[ or ->@{, we should only record that we are
    going to need a POSTJOIN at the top level of interpolation, not
    inside any brackets.  Otherwise the ->@[ can interfere with an outer
    "@{...}", causing syntax errors.
  4. Make postderef experimental

    Father Chrysostomos authored committed
  5. Allow ->@ ->$ interpolation under postderef_qq feature

    Father Chrysostomos authored committed
    This turned out to be tricky.  Normally @ at the beginning of the
    interpolated code signals to the lexer to emit ‘join($",’ immediately.
    With "$_->@*" we would have to retract the $ _ -> tokens upon encoun-
    tering @*, which we obviously cannot do.
    
    Waiting until we reach the end of the interpolated text before emit-
    ting anything could not work either, as it may contain BEGIN blocks
    that affect the way part of the interpolated code is parsed.
    
    So what we do is introduce an egregious or clever hack, depending on
    how you look at it.
    
    Normally, the lexer turns "@foo" into:
    
        stringify ( join ( $ " , @ foo ) )
    
    (The " is a WORD token, representing a variable name.)
    
    "$_" becomes:
    
        stringify ( $ _ )
    
    We can turn "$_->@*" into:
    
        stringify ( $ _ -> @ * POSTJOIN )
    
    Where POSTJOIN is a new lexer token with special handling that creates
    a join op just the way join($", ...) does.
    
    To make "foo$_->@*bar" work as well, we have to make POSTJOIN have
    precedence just below ->, so that
    
        stringify ( "foo" . $ _ -> @ * POSTJOIN . "bar" )
    
    (what the parser sees) is equivalent to:
    
        stringify ( "foo" . ( $ _ -> @ * POSTJOIN ) . "bar" )
  6. Add postderef_qq feature feature

    Father Chrysostomos authored committed
  7. Hide postderef behind the feature feature

    Father Chrysostomos authored committed
  8. toke.c:postderef: rmv obsolete comment

    Father Chrysostomos authored committed
  9. Increase $feature::VERSION to 1.34

    Father Chrysostomos authored committed
  10. Add postderef feature feature

    Father Chrysostomos authored committed
  11. ->%{ ->%[

    Father Chrysostomos authored committed
  12. Fix up postfixderef.t

    Father Chrysostomos authored committed
  13. Add postfixderef.t to MANIFEST

    Father Chrysostomos authored committed
  14. @davidnicol

    Tests for postfix dereference

    davidnicol authored committed
  15. Postfix dereference syntax

    Father Chrysostomos authored committed
    $_->$* means $$_ (and compiled down to the same op tree)
    $_->@* means @$_ ( ditto ditto blah blah blah          )
    $_->%* means %$_ (...)
    $_->&* means &$_
    $_->** means *$_
    $_->@[...] means @$_[...]
    $_->@{...} means @$_{...}
    $_->*{...} means *$_{...}
    
    $_->@* is not always equivalent to @$_, particularly in contexts like
    @foo[0], which cannot be written foo->@*[0].  (Just omit the asterisk
    and it works.)
  16. @jkeenan

    Remove pod/perlembed.pod in wake of RT #120093 corrections.

    jkeenan authored
    Provide author's preferred email address.
  17. @bingos

    Update Unicode-Normalize to CPAN version 1.17

    bingos authored
      [DELTA]
    
    1.17  Sat Oct  5 11:36:43 2013
        - assertion using unpack
  18. mktables: Verify input files' version

    Karl Williamson authored
    Since Unicode 3.2, all Unicode database source files (except
    unfortunately, the most important one, UCD.txt), have their first lines
    be identifying information, their name and version number.  This commit
    checks that the version is the expected one.  This should prevent the
    database from being out-of-sync.  Perl changes the names of some files
    so that they are distinct on DOS filesystems, so we can't easily check
    that the name in the file is the same as the name of the file.
  19. Bump Unicode version

    Karl Williamson authored
    In commit a9c9e37, I forgot to update
    the Unicode version in the file that states it.
  20. @gideondsouza @jkeenan

    Fixed 27 issues in perlembed.pod reported by podcheck

    gideondsouza authored jkeenan committed
    Fixed mostly lines exceeding 80 characters by decreasing leading
    space in verbatim lines to one space. Also fixed long code lines
    with a slash and line break.
    
    Add Gideon Israel Dsouza to list of Perl authors.
    
    For: RT #120093
Commits on Oct 4, 2013
  1. perlfunc: replace splice example with simpler one

    authored
    based on suggestions from Nicholas Clark and David Golden on
    perl5-porters
  2. Remove unused variable 'mark' from pp_last.

    Nicholas Clark authored
    mark is unused since commit 0c0c317,
    "[perl #3112] Stop last from returning values"
  3. Upgrade to Unicode 6.3

    Karl Williamson authored
  4. mktables: Fix logic with binary vs enum properties

    Karl Williamson authored
    The code was confused about what certain variables signified, and raises
    erroneous warnings at other times.  These bugs did not show up until
    compiling Unicode 6.3.
  5. mktables: Do some table-driven code generation

    Karl Williamson authored
    The Unicode Character Database consists of many files in various
    different formats.  mktables has a single routine that processes the
    most common format type.  Files with different formats are run through
    filters to transform them into this format, so that almost all end up
    being handles by this common function.
    
    This commit adds a way of specifying the format for one of the other
    format types, and then automatically generating the code to do the
    transformation.  This doesn't work if the file has lines that have
    special cases, such as if there is a known typo in it; the current
    scheme can be used for those.
    
    Unfortunately, all but one of the candidate files in Unicode 6.2 aren't
    suitable for this table-driven approach.  But a second one is coming in
    6.3, and I anticipate more in the future, as Unicode has tightened their
    quality control significantly in recent releases.
  6. perluniprops: Add correct ignored files docs

    Karl Williamson authored
    Unicode furnishes various files that Perl ignores.  perluniprops lists
    these, with a brief reason of what they are for and why they aren't used
    by Perl.  Two files weren't listed, and one had a typo in the name and
    an inadequate description.
  7. lib/unicore/README.perl: Update

    Karl Williamson authored
    This changes this to conform to changes in Unicode 6.2
Commits on Oct 3, 2013
  1. @steve-m-hay
  2. @steve-m-hay
  3. @steve-m-hay
  4. @steve-m-hay

    Porting/Maintainers.pl - Use PAUSE user IDs

    steve-m-hay authored
    Since we now encourage the use of the DISTRIBUTION field to find the PAUSE
    user ID of the maintainer rather than explicitly listing most maintainers,
    it makes sense to also use PAUSE user IDs where possible for the few
    MAINTAINERS that are still given explicitly.
Something went wrong with that request. Please try again.