Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: ref to read-only alias ... why?

by morgon (Priest)
on Jan 05, 2012 at 23:40 UTC ( [id://946496]=note: print w/replies, xml ) Need Help??


in reply to ref to read-only alias ... why?

On my Debian-system I have a 5.14.1 and a 5.14.2 version of perl.

5.14.1 does die with the error you expect.

5.14.2 however does not die.

So I guess it is a bug that you should report.

Replies are listed 'Best First'.
Re^2: ref to read-only alias ... why?
by ikegami (Patriarch) on Jan 06, 2012 at 00:39 UTC
Re^2: ref to read-only alias ... why?
by LanX (Saint) on Jan 05, 2012 at 23:45 UTC
      5.14.2 behaves as in your posting.

      5.14.1 dies with "Modification of a read-only value attempted".

        Thanks.

        Looks like they tried to fix this in 14.1 but had to fall back to old behavior.

        Cheers Rolf

Re^2: ref to read-only alias ... why?
by dk (Chaplain) on Jan 05, 2012 at 23:53 UTC
    Thanks, I guess I will. It seemed to me like a bug, but knowing that there's too many arcane special cases in Perl, I decided to ask first.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-19 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found