in reply to Export from module in subdirectory

You could declare your folder with test.pm in @INC as another alternative

use strict; use warnings; use lib 'lib'; use test; print min( 5, undef, 10, 3);