in reply to Re^3: require at compile time?
in thread require at compile time?

I forgot the bit about how appending require URI; changes the result. I struck out my earlier statement. As you can see, require URI; does have a compile-time effect on the symbol table:
>perl -le"print for grep /::$/, keys %::" ... Internals:: DB:: >perl -le"print for grep /::$/, keys %::; require URI;" ... Internals:: DB:: URI::

Replies are listed 'Best First'.
Re^5: require at compile time?
by JadeNB (Chaplain) on Nov 08, 2008 at 00:02 UTC
    Thanks—that's extremely clear. I still don't understand your remaining statement in Re^2: require at compile time?, that exists contradicts the statement “The glob exists”, though. (I don't disagree—I just don't understand it.)

      That statement is also wrong. Same reason.

      >perl588\bin\perl -le"print exists $::{'URI::'} ? 'yes' : 'no';" no >perl5100\bin\perl -le"print exists $::{'URI::'} ? 'yes' : 'no';" no >perl588\bin\perl -le"print exists $::{'URI::'} ? 'yes' : 'no'; requir +e URI;" yes >perl5100\bin\perl -le"print exists $::{'URI::'} ? 'yes' : 'no'; requi +re URI;" yes