develooper Front page | perl.perl5.porters | Postings from August 2010

Re: mauve::reftype()

Thread Previous | Thread Next
Zsbán Ambrus
August 30, 2010 02:08
Re: mauve::reftype()
Message ID:
On Mon, Aug 30, 2010 at 9:42 AM, Nicholas Clark <> wrote:
> We weren't convinced that it was viable to change the behaviour of
> well used Scalar::Util functions this late in the game.

Meanwhile, if we want to introduce functions with changed semantics,
could we finally have a reftype that does away with the
REF/GLOB/LVALUE/whatever madness and just returns SCALAR for any
scalar, independent of what value it has?  The precise invariant I'd
like is that refaddr($x) remains constant when you assign to $$x but
not to $x.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About