in both my ActivePerl and Strawberry perl lib folders

Attempting to run two different version of Perl (ActiveState and Strawberry) or even two different release levels of the same "flavor of Perl" on the same Windows machine is not for inexperienced! This is a really bad idea unless you have some clearly articulated reason for doing so.

Ok, yes it is possible, but there is gonna be a lot of pain involved.

Please follow directions exactly! I tried 'ppm Tk' and 'ppm Tkx', they both hung. I said to type ppm at the command line. That means to type "ppm<hit enter>". I did not say to type "ppm Tk". This program takes a while to start. Give it some minutes before you give up and type something like "CTL-C".

If the above fails, then it sounds like you have a confused set-up and probably some path variables that are "hosed". I would back out of all that you have so far. That means use Windows software management (Add or Remove Programs) to uninstall all of the Perl's that you have. Then delete all of the Perl stuff from your path variable. Do a Windoews help search on "setting environment variables". Tell me if you are on WinXP and I can help more.

To see your current environment variables, type "env<carriage return>" or "set<carriage return>" from a command prompt.

I have used ActiveState Perl for years and it does work and Tk does work also. Starting with 5.10, you have to install it. The ppm utility does work.

Update: How can I find out if ppm is even properly installed? Follow the directions and report back.

The ActiveState repositories work with .ppd files. You need not worry about finding these or fiddling with them. The ppm utility knows how to find them! These are already pre-compiled files that do not require a C compiler or "make" on your machine! This is actually very easy and painless. DO NOT try to install cpan modules on an ActiveState system directly.

Using CPAN is possible with ActiveState, but it is more complicated to do than we need to get to for your current problem.

Oh, if you are using Win 7, 64 bit, use the ActiveState Perl 32 bit version. Tk is not available for the 64 bit version to the best of my knowledge at this time.


In reply to Re^3: Accessing perl/Tk by Marshall
in thread Accessing perl/Tk by hsfrey

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.