crazy1982 has asked for the wisdom of the Perl Monks concerning the following question:

I was trying to install Tcl.pm package in perl with the help of CPAN, but it was throwing error saying "Can't locate loadable object for module Tcl in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at srik_chariot.pl line 3 Compilation failed in require at srik_chariot.pl line 3. BEGIN failed--compilation aborted at srik_chariot.pl line 3." what could be the reason?

Replies are listed 'Best First'.
Re: Tcl CPAN package installation Problem
by Anonymous Monk on Apr 12, 2010 at 14:09 UTC
    what could be the reason?

    The module requires a compiler to build Tcl.dll (loadable object). You haven't installed the module. A Guide to Installing Modules

      Thanks for the immediate response sir. I tried to install the module with the help of "perl -MCPAN -e "shell". But, at the time of installation, it is throwing an error!
        Then act accordingly to the error message to make it install cleanly.

        If you had mentioned the error message, we might have been able to help you, but since the error message seems to be a subject of utmost secrecy, there's naught we can do for you.