# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75956] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75956 >
<masak> rakudo: @*INC.=reverse; say @*INC.perl <p6eval> rakudo ad2afb: OUTPUT«Cannot assign to readonly value [...] <ash_> rakudo: @*INC = 1, 2; <p6eval> rakudo ad2afb: OUTPUT«Cannot assign to readonly value [...] <ash_> aww hmm, why is it read only? <masak> ash_: yeah, that feels wrong, doesn't it? <masak> rakudo: @*INC.push("OH HAI"); say @*INC.perl <p6eval> rakudo ad2afb: OUTPUT«["lib", "/home/p6eval/.perl6/lib", "/home/p6eval//p2/lib/parrot/2.5.0-devel/languages/perl6/lib", ".", "OH HAI"]» <masak> ash_: only the container is, though. <ash_> masak: ah, i guess that makes sense... <masak> ash_: not sure it does. but it makes it not-as-bad. <ash_> masak: well, is there a good reason to let someone do @*INC = ? you lose all of the default load paths if you do that <moritz_> ash_: is there a good reason not to allow it? <ash_> (how do you even make a container R only?) <moritz_> in general we allow people to shoot in their foot if that's what they wish <ash_> hmm * masak submits @*INC rakudobug