Dear All, I was trying to run my script getip.pl . But when i run this script it gives following error
C:\strawberry\perl\Test>perl GETIP.pl Can't locate Win32/Registry.pm in @INC (@INC contains: C:/strawberry/perl/lib C: /strawberry/perl/site/lib C:\strawberry\perl\vendor\lib .) at GETIP.pl line 1. BEGIN failed--compilation aborted at GETIP.pl line 1. To resolve this error I downloaded module Win32-DriveInfo-0.06 from cpan.org and used following steps to install but again shows the same problem. C:\strawberry\perl>cd Win32-DriveInfo-0.06 C:\strawberry\perl\Win32-DriveInfo-0.06>perl Makefile.pl Writing Makefile for Win32::DriveInfo C:\strawberry\perl\Win32-DriveInfo-0.06>dmake install cp DriveInfo.pm blib\lib\Win32\DriveInfo.pm Installing C:\strawberry\perl\site\lib\Win32\DriveInfo.pm Appending installation info to C:\strawberry\perl\lib/perllocal.pod C:\strawberry\perl\Win32-DriveInfo-0.06>dmake test C:\strawberry\perl\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl 1..11 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 Drive C: `dir' and module returned the same Drive D: `dir' and module returned the same Drive F: `dir' and module returned the same Drive G: `dir' and module returned the same ok 11