On May 23, 2013, at 12:45 PM, Rahim Fakir wrote:

> Iam practicing from start and I have  a problem with this code:
> This is the comment of the console, i coulnd't give a round to it, pls help...
> 
> 
> Can't locate Glib.pm in @INC <@INC contains: C:/Dwimperl/perl/site/lib 
> C:/Dwimperl/perl/vendor/lib
> C:/Dwimperl/perl/lib .> at janelahello.pl line 3.
> BEGIN failed--compilation aborted at janelahello.pl line 3

This error message indicates that Perl cannot find the Glib module, which your 
program requires with the 'use Glib' statement in line 3. Some modules come 
with the basic Perl installation. Some do not, but can be installed. Just how 
to install modules depends upon the Perl distribution that you are using. You 
appear to be using DWIM Perl.

This web page implies that Glib is not installed by default with DWIM Perl:
<https://github.com/dwimperl/tools/blob/master/README_5.14.2.1-32bit-windows.txt>

You can find out what directories Perl searches for modules with the 'perl -V' 
command (that is a capital 'V').

You may be able to install modules with the CPAN shell:

  cpan
  install Glib
  quit

but you should consult the documentation for your distribution for the exact 
details.


--
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