Is this lexical-including-sigil documented anywhere?. The pod for my() and perlsub dont give much away.

I was aware typeglobs were on the way out, and I agree this is probably a good thing - but in perl5, i think knowing how to apply this technique can be useful where handles and data need to be kept together.
I was actually hoping some monks offer other scenarios they use GLOB refs for, but it appears to be my own little fetish :D.

Sofar, I have found the biggest learning/usage payoff is with socket servers. Using the array part of the servers GLOB ref to pool connections - like the IO::Select array, but a nicer abstraction than the cargo-cultish IO::Select docs example.

thanks again all
and if you too share a GLOB ref fetish, call 0800-GLOBREF-SICK today!


time was, I could move my arms like a bird and...

In reply to Re: Re: understanding my() and typeglobs (perl6) by Ctrl-z
in thread understanding my() and typeglobs by Ctrl-z

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.