in reply to Re^8: XS: returning a 64-bit unsigned int?
in thread XS: returning a 64-bit unsigned int?
Tie is only one kind of magic. Magic scalars are actually quite common.
$1 $| $ENV{PATH} $ISA[0] $tied{$k} $tied[$i] $#a pos substr
(Some of these only return magical scalars in lvalue context.)
Every tied hash and array uses them in order to call STORE on the hash or array when assigning to the scalar returned by $tied{$i} and $tied[$i].
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: XS: returning a 64-bit unsigned int?
by BrowserUk (Patriarch) on Sep 27, 2011 at 18:39 UTC | |
by ikegami (Patriarch) on Sep 27, 2011 at 19:11 UTC | |
by BrowserUk (Patriarch) on Sep 27, 2011 at 19:40 UTC | |
by ikegami (Patriarch) on Sep 27, 2011 at 20:41 UTC |