in reply to Re^10: localizing lexical without messing with tie ?
in thread localizing lexical without messing with tie ?
no named parameters
I have no idea what you mean since the entire purpose of tst in the code you posted is to provide named parameters (using a bad syntax). Could I buy a verb please?
UPDATE: oversaw the readmore-part,
It's not behind a readmore.
Could you show me an example with pack-vars where magic (other than tie) results in problems after an explicit local?
tie is the Pure Perl interface to Magic. It's implemented using Magic, so anything tie can do, so can Magic.
You're looking for any magic that has a side-effect that isn't undone by the end of the following:
my $saved = $magical; ... $magical = ...; ... $magical = $saved;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: localizing lexical without messing with tie ?
by LanX (Saint) on Sep 11, 2010 at 12:57 UTC | |
by ikegami (Patriarch) on Sep 11, 2010 at 14:40 UTC | |
by LanX (Saint) on Sep 12, 2010 at 13:04 UTC | |
by ikegami (Patriarch) on Sep 12, 2010 at 15:40 UTC | |
by LanX (Saint) on Sep 14, 2010 at 12:37 UTC | |
|