It can be difficult/confusing if you're not used to it but you should put them in neither. You should make a code repository (anywhere you like) tracked by git or svn or something you like and then create module distributions which you install with tools like cpanm or CPAN::Inject. They will put the modules wherever your Perl installation believes they belong.
The resulting destination is likely to be the site/lib but this way you won't have to worry about it, you'll have repeatable steps to install it on any machine you want, and you'll be able to roll back to a previous version if you hose your code.
Update: if you're really a beginner and not technically gifted that advice might not be helpful at all but the basic advice doesn't change. The easiest way is still to do neither but use lib to use your module code and keep it next to (in the same dir or in a ./lib) your script.
In reply to Re: Beginner - difference between lib directories in Perl install
by Your Mother
in thread Beginner - difference between lib directories in Perl install
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |