in reply to Re^3: Accessing perl/Tk
in thread Accessing perl/Tk

I FIRST tried "ppm" and it hung! It gave no indication that anything had happened.

Anyway, I tried it again, and this time it ran, and said "Synchronizing Database done". Thank you!

But by now, I've forgotten why I was doing all this. Oh Yes! :-)

I wanted to get Perl/Tk to where I could use it.

I see Tkx as one of the packages installed (which worked even before) but I don't see perl/tk in the list of packages.

I could use Tkx, but most of the examples I find on the web appear to be in Tk, and I have the big "Mastering Perl/Tk" book, so it would be nice to be able to use its examples as models without trying to translate everything to Tkx.

Replies are listed 'Best First'.
Re^5: Accessing perl/Tk
by Marshall (Canon) on Nov 27, 2011 at 07:48 UTC
    Ok, now that this ppm app runs, type Tk in the search bar or scroll til you find it. You have to click on it and then "mark it for installation" (I think you have to right-click for that). Then File | run selected actions. That will install Tk with all prerequisites.

    Let us know how that goes.

      There is no Tk listed, only Tkx.

      And Tkx already runs for me.

      The only reason I wanted Perl/Tk is because there seems to be a lot of better documentation.

      Actually there are a lot of bits and pieces of fossil Tk scattered through the Active State download. But they don't work.

      Well, I think I can become resigned to living with Tkx.

      But, thank you for your help!

        Tk is available for ActivePerl 32 bit, not 64 bit. I suspect this is the problem although I think I mentioned it in a previous post.

        Tk is a good way to go because of the huge amount of support/books etc for it. It is not being developed in new and astonishing ways, but if all you need is the basics, then I think that it is fine. I still use it, but then again, I'm not a super GUI guru.

        Unless you need huge data access, 64 bit Perl gains you nothing over 32 bit Perl and you loose quite a bit in terms of support. Active State runs a bit behind the times, in the best of times, and 64 bit is not quite ready for "prime time". Consider 32 bit Perl.

Re^5: Accessing perl/Tk
by Anonymous Monk on Nov 27, 2011 at 07:29 UTC

    Which version of which do you have?

    http://kobesearch.cpan.org/dist/Tk lists Tk for win32 (not win64) for 5.8,5.10,5.12

    Does cpan Tk work for you?

    Does cpanp i  Tk work for you?

    Tkx introduction http://www.tkdocs.com/tutorial/onepage.html