With Active State, Tk comes pre-installed (at least it did on my Version 5.20). So there aren't any extra install steps for Tk.

With Active State, I recommend always using the AS ppm (Perl Package Manager) utility. Do not use the cpan utility unless you have some very special situation. The cpan utility is available (use AS ppm to install it. Doing so will also install the correct compiler etc). I have never done a completely manual installation with Active State (haven't needed to - there are 20K+ pre-compiled packages in Active State's main repository). Type ppm on a command line and a GUI will start. Pretty self explanatory. Look in the alphabetic ppm package lists for additional Tk widgets that were not part of the default pre-installed stuff.

update: I've been using AS and the ppm since Perl 5.6 and I don't remember seeing an installation fail. To be in the AS repository means that the tests run without errors and any compilation for XS code has already been done. So installations are pretty fast as this is basically just copying files around, except for the HTML doc generation which is done locally on your machine.

So I think the easiest solution by far is to install Active State and just start using Tk. Look at the generated Tk HTML documentation to see what widgets you have.


In reply to Re: CPAN Tk failure on Windows 10 by Marshall
in thread CPAN Tk failure on Windows 10 by gsd4me

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.