Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Where is Perl/Tk? is offline?

by slugger415 (Scribe)
on Jan 25, 2013 at 20:02 UTC ( #1015399=perlquestion: print w/replies, xml ) Need Help??
slugger415 has asked for the wisdom of the Perl Monks concerning the following question:

Hi, can anyone tell me where to find the Perl/Tk module? In the past I told my Win7 users to run this at the command line:

ppm install

But seems to be offline (or gone). Anyone know where I can find this module?


  • Comment on Where is Perl/Tk? is offline?

Replies are listed 'Best First'.
Re: Where is Perl/Tk? is offline?
by jandrew (Chaplain) on Jan 25, 2013 at 20:51 UTC

    I think Activestate has transitioned from Tk to Tkx

    In either case many windows perl users are transitioning to Strawberry Perl which does not require a package build per perl version. (And therefore package authors have dropped support for non-Activestate ppm repositories) Admittedly my Tkx build in Strawberry 5.14 required a forced install over a few errors but it installs straight from CPAN.

      probably a dumb question here, but is there a way to migrate my Tk script to Tkx? Are they pretty much the same?

        Tk and Tkx are both built on Tcl but the interfaces are different. Tkx uses a mildly more perlish interface.

        I've never translated Tk to Tkx but my first suggestion would be to go to the top of the script and change 'use Tk;' to 'use Tkx;' when you have Tkx installed and run the script to see what breaks. You can look up the section that is broken and convert to the new code here I think some of the old Tk style still works because not all Tcl elements are built as widgets and you still have to call them in the Tk way. I'm just not sure if having a widget in Tkx excludes the old Tk syntax.

        probably a dumb question here, but is there a way to migrate my Tk script to Tkx? Are they pretty much the same?

        No, but it could be as simple as use Tcl::pTk; except, if you can't manage to install, you're not going to manage to install Tcl::pTk. see Re: TclTk interface with Perl code, is it possible?, Re^2: GUI toolkit+designer for the perl newbie

        Don't bother migrating, just go ahead and install by any means possible, even if it means installing a 32bit version of perl, or a different perl build, or whatever else you have to do

Re: Where is Perl/Tk? is offline?
by choroba (Chancellor) on Jan 25, 2013 at 21:28 UTC
    Maybe you can be more lucky with
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re: Where is Perl/Tk? is offline?
by ww (Bishop) on Jan 26, 2013 at 01:25 UTC
    Depends on what v of Perl you're running. Trouchelle has repo dirs up to 5.014 (as of this writing, 25 Jan 2013)

    If yours is 5.14 or earlier, check out He specifies the ppm command to add the 5.14 repo as ppm rep add

Re: Where is Perl/Tk? is offline?
by Anonymous Monk on Jan 25, 2013 at 20:24 UTC
    Odd name. Maybe if you put $100,000 in unmarked bills with no sequential serial numbers under yonder tree, and wait a day or so, the domain will magically come back.
Re: Where is Perl/Tk? is offline?
by Anonymous Monk on Jan 26, 2013 at 01:55 UTC
    use  cpan Tk to install Tk
      I don't believe Tk is on CPAN any longer.
            I don't believe Tk is on CPAN any longer.

        It isn't?

        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

        I don't believe Tk is on CPAN any longer.

        CPAN is forever :) Well, backpan is forever

        Did you try it?

        Go ahead and try it; feel silly?

        If you are running Activestate perl your Tk build from CPAN won't go as well as if you are running Strawberry perl.

        Check out the Tutorial from holli regarding ppm modules and repositories. There are a number of useful Activestate style workarounds there. You will also need to know what version of make your system has. Type the following into a command prompt.

        perl -V:make
Re: Where is Perl/Tk? is offline?
by Anonymous Monk on Mar 03, 2013 at 03:47 UTC
    Looks like it's back online now as of the last week or so at least. Thanks to whoever did that by the way. My C:\ melted (don't do speed tests from ntfs to ext4 and back again with large files?) and I really needed Win32::MediaPlayer for 5.14_x86 on win7 =) phil681 aka kordaff
Re: Where is Perl/Tk? is offline?
by modi2020 (Novice) on Jan 31, 2013 at 04:57 UTC
    I have been struggling trying to get bribes library as well. I thought I was alone. Please let me know if you got around this problem. Thank you
      use cpanp -i Tk --skiptest

        Hm, getting a little closer, thank you, but I now get this:

        Installing Tk (804.030)
        ERROR You do not have 'make' in your path -- 'CPANPLUS::Dist::MM' not availabl
        Please check your config entry for 'make'
        ERROR Format 'CPANPLUS::Dist::MM' is not available
        ERROR Unable to create a new distribution object for 'Tk' -- cannot continue
        ERROR IPC::Run version '0.55' is required on MSWin32 in order to capture buffe
        rs. The logfile generated may not contain any useful data, until it is installed
        *** Install log written to:
        Error installing 'Tk'
        Problem installing one or more modules

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1015399]
Front-paged by Corion
[LanX]: still can't believe this, must h have been a misunderstanding
[choroba]: fortunately, I haven't the need to verify this
[choroba]: haven't had
[choroba]: but most tourist here are form the US, France, and Russia
[Your Mother]: The best whiskey in Thailand is Vietnamese, is all I know.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-02-26 04:58 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (371 votes). Check out past polls.