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;

In reply to Re^11: localizing lexical without messing with tie ? by ikegami
in thread localizing lexical without messing with tie ? by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.