On Tue, Feb 06, 2001 at 02:32:16PM -0200, Branden wrote:
> I noticed I couldn't get it to work. The thing is that $x = ... makes a
> sv_setsv, what copies the value of the other SV (ST(0) in this case), but
> not its magic, and other stuff. Here is the difference between `variable'
> and `value'. In Perl5, at least, I could attach magic to a variable, but not
> to a value (AFAIK).
That's not quite right. I can do
%untied = %tied;
If Perl 5 worked the way you wanted, you could do
%tied2 = %tied;
%untied = (%tied);
But if "%foo = %bar" should make %foo magical or not is a language issue, so
I'm allowed to duck the question. :)
--
dd.c: sbrk(64); /* For good measure */
- plan9 has a bad day
- Another approach to vtables Branden
- Re: Another approach to vtables Simon Cozens
- Re: Another approach to vtables Branden
- Re: Another approach to vtables David Mitchell
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Simon Cozens
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Simon Cozens
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Simon Cozens
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Branden
- Re: Another approach to vtables Dan Sugalski
- Re: Another approach to vtables Edwin Steiner
