Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Think about Loose Coupling
 
PerlMonks  

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

by morgon (Chaplain)
on Jan 05, 2012 at 23:40 UTC ( #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.


Comment on Re: ref to read-only alias ... why?
Re^2: ref to read-only alias ... why?
by LanX (Abbot) 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.
Re^2: ref to read-only alias ... why?
by ikegami (Pope) on Jan 06, 2012 at 00:39 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-04-20 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls