What's the difference between use lib "/somepath"; and BEGIN{ unshift( @INC, "/somepath" ) }; When I do use DQ::SomeModule after the "use lib" approach, it works, but not after the BEGIN block, even though when I dump @INC, it shows the /somepath for both scenarios.