package App::Package; use File::Slurp; sub get_config { my $json = read_file("???/Config/Config.json"); #... return $something; } #### use lib 'Some/Random/Path/To/App'; my $result = get_config();