in reply to How to use "our()" variables correctly within a Perl module

You declare the variable, but you don't import it into junk.pl's namespace. Printing $Mylib::varaible1 should work.

For more details, see Exporter.

Replies are listed 'Best First'.
Re^2: How to use "our()" variables correctly within a Perl module
by memnoch (Scribe) on Nov 27, 2007 at 15:58 UTC
    Thank you moritz....I'll look into that. memnoch