That's correct, and I am guilty for oversimplification with regard to that. I am sorry for not having written a more detailed description which could have also clarified a few other inaccuracies which have surfaced in this thread. Sigh. I made some assumptions about the intentions in the original post, but obviously other monks have made other assumptions.haj: "use Foo; instructs Perl to look in its list of module directories for a file called Foo.pm."tobyink: It does a bit more than that. It also runs Foo->import() after loading Foo.pm.
In reply to Re^3: Multiple Packages in a Module?
by haj
in thread Multiple Packages in a Module?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |