use lib '/home/hdweb/lib'; BEGIN { push @DynaLoader::dl_library_path, '/home/hdweb/ars/api_701p1/lib'; } use ARS; # ~/lib folder.