in reply to tie and magic
ie some variable as SCALAR, HASH and ARRAY simultaneouslyThis isn't possible, even using XS and perlguts. The perl lexer sees these as three separate variables:
of course, you could tie all three variables, but that's probably not what you want.$x # lexer returns $x $x[0] # lexer returns @x ... $x{0} # lexer returns %x ...
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: tie and magic
by pajout (Curate) on Sep 21, 2005 at 13:03 UTC | |
by dave_the_m (Monsignor) on Sep 21, 2005 at 14:08 UTC |