Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^21: ref to read-only alias ... why? (notabug)

by ikegami (Patriarch)
on Jan 12, 2012 at 23:11 UTC ( [id://947666]=note: print w/replies, xml ) Need Help??


in reply to Re^20: ref to read-only alias ... why? (notabug)
in thread ref to read-only alias ... why?

I'd like a proof to that statement.

There are comments on RT#3105 that were posted on p5p (but off-ticket) about this. Also, COW came up again recently on p5p. It's a publicly readable and searchable mailing list. I don't have time to search right now (Took me a couple days just to get around to writing this!) I'll try when I can.

my proof is that Arthur Bergman, the person who answered to the bug some 8 years ago, said it's a bug.

Just like him, I agree the inconsistency is a bug. I only have a problem with your fix. I have already explained how I think your fix only affects the case that is working correctly.

how many "many" btw? "many" as in "one-two-many"?

Considering there's only a couple of handful of them in total, and how few speak on topics they aren't working on...

You didn't provide neither proof in docs/code,

To my knowledge, the docs are silent on whether literals should return read-only values or modifiable values. Which is why I provided code (contrary to what you said).

  • Comment on Re^21: ref to read-only alias ... why? (notabug)

Replies are listed 'Best First'.
Re^22: ref to read-only alias ... why? (notabug)
by dk (Chaplain) on Jan 18, 2012 at 07:43 UTC
    Just like him, I agree the inconsistency is a bug.

    Gaaah! Why didn't you say that earlier? I was sure you meant that it's not a bug. Good we're coherent at last.

    I only have a problem with your fix.

    Well I wouldn't insist on it; I posted it because I thought it's better than nothing, than a bug that slept for 8 years. I don't have the competence though to make a more proper patch, but I do hope that at least my incomplete patch stirs attention and something will be made on the issue.

      Gaaah! Why didn't you say that earlier?

      I think my earliest post in the thread was Re^4: ref to read-only alias ... why? (not consistent), which talks about how to fix the bug. Can't get any earlier than that! To my recollection, the only thing I've talked about since is how to fix the bug. One can't talk about how to fix a bug if there is no bug!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-23 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found