At 02:32 PM 2/6/2001 -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).

No, you attach the magic to a value. Perl just doesn't copy magic when it 
copies data. Whether this is a good thing or not is up in the air. (Half 
the time I want it to, the other half I don't...)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to