#!/usr/bin/perl use strict; use warnings; my %env; BEGIN { use andere_lib; %env = andere_lib::befehl(); } use lib @{$env{perlmodule_eigen}}; # ...