Need help for cpan installation and module directory

117 views Asked by At

I'm trying to install perl module. But, I have this error:

"Can't find C:\Strawberry\perl\bin\cpan.bat on PATH, '.' not in PATH".

And, when I use cpan from strawberry directory and try to install module, perl can't find it.

1

There are 1 answers

0
ssr1012 On

Please confirm these process done by you in your machine.

Go the System properties and Click ENVIRONMENT Variables

Add your Strawberry perl path in USER variables C:\Strawberry\perl\bin

Add your Strawberry perl path in SYSTEM variables C:\Strawberry\perl\bin

I hope this is clear for you.