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

Not necessarily:

perl -wle "print $URI::VERSION; print $INC{'URI.pm'}; print $::{'URI:: +'}"

The namespace URI isn't necessarily populated by use URI;, it might come from a pasted snippet or from accessing global symbols in it.