Thank you very much again, and of course you are right.

But to clarify my last comment: I intended it to exclusively relate to your statement in your next to last comment which begins with: Even if the :std option of the open pragma were to be lexically scoped, ... This statement has made me think about it some time. Notably, if choroba had been correct, this would mean that we theoretically could remove every use pragma (lexically scoped or not) from any module we are including provided we have that pragma at the top of the main script. Obviously, this is not true.

This has been an understanding problem for me, so I have written the comment which (as mentioned above) was only relating to lexically scoped pragmas.

Thank you very much again,

Nocturnus


In reply to Re^8: Which "use" statements in a module do "bubble up" to the callers? (updated) by Nocturnus
in thread Which "use" statements in a module do "bubble up" to the callers? [SOLVED] by Nocturnus

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.