in reply to Re: Can't find a module that is installed
in thread Can't find a module that is installed

perl -E 'BEGIN{unshift @INC, ".";} use forks' #gross #better perl -I. -e'use forks'

Replies are listed 'Best First'.
Re^3: Can't find a module that is installed
by stevieb (Canon) on Feb 16, 2017 at 20:40 UTC

    I wasn't sure if -I put the new directory at the beginning of @INC or appended it and was a bit pressed for time to go look at that moment ;)

    After a quick look at perlrun, it indeed does prepend.