in reply to Paths to Packages

Usually use Bar; would be enough. The perl interpreter infers the .pm on a bare word use.

Phil

Update: Looking more closely at your file structure I see two FOO dirs at different levels. Try use FOO::Bar.

Replies are listed 'Best First'.
Re^2: Paths to Packages
by mikasue (Friar) on Jul 17, 2006 at 18:52 UTC
    uh? My question is about the location path not really the name of the module. If I have FOO::FOO:Fubar. How do I call a method that is in FOO:: instead of in the same directory of FOO::FOO::? (In a sense, going back up the tree.)

    Is my question clear?