http://www.perlmonks.org?node_id=821027


in reply to Bug in ' perldoc perlvar ' ?

perlvar says

Similar to @+, the %+ hash allows access to the named capture buffers

@+ provides access to all capture buffers (not just the named ones), so the statement is unclear if not incorrect.

@+ is about "offsets of the ends of the last successful submatches" and %+ about accessing "named capture buffers". How can these two things be similar?

perlvar only claimed that one aspect was similar. It never said the kind of access to the capture buffers was similar. That one variable provides the offset of the end of the buffer while the other provides the contents of the buffer does not disprove the claim of similarity that perlvar made.