Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote:


On 2008 May 10, at 21:46, John M. Dlugosz wrote:

In S06, what is the difference between "is ref" and "is rw"? The text says that the rw may be converted to an lvalue, and that ref must already be. But what is that supposed to mean?


At a guess, "is rw" makes a parameter variable into a local read/write variable initialized with the parameter value. Changes to it are not reflected in the caller.


That would be my guess too, but not everyone's <g>. It's still bound as an alias to the original caller's object, so that means writing to it would...?

--John

Reply via email to