package App::Package; use File::Slurp; sub get_config { my $json = read_file("???/Config/Config.json"); #... return $something; }