Ok, I've been pouring over this trying to figure out what you're referring to. Reading my local docs on open, I don't see any open examples that don't use typeglobs (well, one uses a lexical, the rest use typeglobs). Further, I'm redirecting STDERR - a typeglob. I am not introducing new typeglobs (other than a localised version of STDERR), and am attempting to keep anyone from using that global. So I'm not sure how it's relevant to cleaning up the hack anyway - I'm trying to modify a built-in typeglob, so I think I pretty much have to use that typeglob.

Second, I'm not sure how your help is related to the questions I actually had. I suspect that you didn't intend to answer those, but unless I can be sure about your intentions, I have to assume you may have had a gem in there that I'm currently unable to grasp that would help my codepage conversions (whose code I didn't show, I conceded I couldn't boil it down yet, and doesn't use typeglobs at all).

So I'm a bit confused. Any clarification would be helpful.


In reply to Re^2: diagnostics, STDERR, and codepage conversions by Tanktalus
in thread diagnostics, STDERR, and codepage conversions by Tanktalus

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.