in reply to Re^2: "use Foo.pm" twice from inside different packages...
in thread "use Foo.pm" twice from inside different packages...

It isn't optional. If you don't have package Foo; Foo is not a module. See Simple Module Tutorial.
  • Comment on Re^3: "use Foo.pm" twice from inside different packages...

Replies are listed 'Best First'.
Re^4: "use Foo.pm" twice from inside different packages...
by wazoox (Prior) on Mar 03, 2006 at 11:40 UTC
    Yes you're right... Well I'm getting confused with the good' ol' perl4 "require" too :)