Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Bug in ' perldoc perlvar ' ?

by ikegami (Pope)
on Feb 02, 2010 at 20:04 UTC ( #821027=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Bug in ' perldoc perlvar ' ?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821027]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2014-12-26 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls