Hello kally and welcome to the monastery!

See Writeup Formatting Tips to beuatify a little your post.

Strawberryperl comes with cpan client installed and it runs fine:

MSWin32_cmd>cpan cpan> m Tk Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Database was generated on Wed, 26 Apr 2017 08:58:25 GMT Updating database file ... Done!Fetching with LWP: http://cpan.strawberryperl.com/authors/id/S/SR/SREZIC/CHECKSUMS Module id = Tk CPAN_USERID SREZIC (Slaven Rezic <slaven@rezic.de>) CPAN_VERSION 804.033 CPAN_FILE S/SR/SREZIC/Tk-804.033.tar.gz UPLOAD_DATE 2015-02-21 MANPAGE Tk - a graphical user interface toolkit for Perl INST_FILE C:\ulisse\strawberry\perl\site\lib\Tk.pm INST_VERSION 804.032 cpan> r Tk Package namespace installed latest in CPAN file Tk 804.032 804.033 SREZIC/Tk-804.033.tar.g +z cpan>

In my case. You might try make uninstall in the original directory the module unpacked into, but i dont know if Tk.pm has unistall options. If yes you can access the cpan client and try to reinstall Tk using cpan

UPDATE: if the above unistallation fails you can try this unistall script (untested) from perltricks.

The above article also suggest another CPAN client: cpanm App::cpanminus installable via original cpan client: after the installlation you can issue cpanm --uninstall Tk

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

In reply to Re: error in perl TK module post installation by Discipulus
in thread error in perl TK module post installation by kally

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.