http://www.perlmonks.org?node_id=1013310


in reply to Perl module in a user local folder

Hello niqola, and welcome to the Monastery!

Put the following line at the top of test.pl:

use lib 'Lib';

That should fix the problem. See lib.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Perl module in a user local folder
by niqola (Novice) on Jan 15, 2013 at 10:29 UTC
    Thank you. That works fine!