I have the following file structure:
|_controllers
| |___FooController.pm
|_models
| |___Foo.pm
|_utils
| |___BarUtils.pm
|_foobar.do
I want to know how can I import the modules between files, let say that I want to use Foo.pm on FooControllers.pm or use BarUtils.pm on foobar.do . When I have the files on the same directories I just do
use Foo;
But in this case I cannot figure out how to do it.