#!/usr/bin/perl BEGIN{ use Config::YAML; our $c= Config::YAML->new("/pathtoconfigfile"); our $inc_path = $c->get_includePath; } use lib $inc_path;