It would seem that the perl into which Win32::GUI was installed is a
different perl than the one that is executed when you run "perl window.pl".

I can verify that, on Strawberry Perl-5.32.0, having run "cpan -i
Win32::GUI", "perl window.pl" runs fine for me.

Cheers,
Rob



On Sun, Aug 30, 2020 at 7:59 PM Somu <som....@gmail.com> wrote:

> i did it already. And installation was fine.
> Even then the problem persists.
>
> On Sun, Aug 30, 2020 at 3:22 PM Chankey Pathak <chankey...@gmail.com>
> wrote:
>
>> Install the Win32::GUI module from cpan
>>
>> $ cpan Win32::GUI
>>
>> On Sun, 30 Aug, 2020, 3:19 PM Somu, <som....@gmail.com> wrote:
>>
>>> Hi all!
>>> Please help me with this.. What am i doing wrong
>>>
>>>
>>> #!/usr/bin/perl -w
>>> use strict;
>>> use Win32::GUI;
>>>
>>>
>>> #typing "perl window.pl" in command line generates the following..
>>> #Can't locate Win32/GUI.pm in @INC (you may need to install the
>>> Win32::GUI module
>>> #) (@INC contains: C:/Strawberry/perl/site/lib
>>> C:/Strawberry/perl/vendor/lib C:/S
>>> #trawberry/perl/lib) at window.pl line 1.
>>> #BEGIN failed--compilation aborted at window.pl line 1.
>>> --
>>> Somu.
>>>
>>
>
> --
> Somu.
>

Reply via email to