in reply to Which "use" statements in a module do "bubble up" to the callers? [SOLVED]

For completeness, you can use a do FILE (and consequently a require and use if the code is included before the package statement of the pm file) to eval a file in place.

Like this you can technically include package variables, constants and functions.

Most people would consider this a dirty hack.

And it will not export use s of file scoped pragmas and modules and lexical variables.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: Which "use" statements in a module do "bubble up" to the callers? [SOLVED]