Hi Jyoti,

On Tuesday 30 Mar 2010 09:50:39 Jyoti wrote:
> 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

Is that everything you wanted to say? If so, it seems that everything was 
successful. Are you using Strawberry Perl or ActivePerl or something else?

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://shlom.in/enemy

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to