Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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
[1nickt]: stevieb I don;t doubt that there's a difference. BestBuy has "consumer" models only on display.
[ambrus]: 1nickt: for some reason, these days they call every computer "gaming", even ones that gamers wouldn't buy. I've bought a keyboard that was labelled "gamer", despite that it has hard springs and seems to be way better for typing than for gaming;
[1nickt]: I though the gamers like that because they bash the keys so hard.
[ambrus]: and I've seen motherboards with no fast expansion ports for a video card but built-in hardware RAID advertized as "gaming".
LanX has a shaming laptop
[ambrus]: 1nickt: my impression is that the gamers like the softer springs, because fast reaction time is more important to them then feedback from keypresses to recognize typos.
[1nickt]: Ah, I see. I did read some gamer mag reviews, and yes, they lamented the fact that laptops with no discrete video card are sold as "gaming" hardware.
[1nickt]: But, they do have red keyboard backlighting! And gargoyles on the front, or words like "Maxxx" here and there. They know their demographic!
[1nickt]: True gamers don;t buy Dells, HPs, or Lenovos, I think ;-)
[ambrus]: The keyboard I bought doesn't have backlighting. I specifically had to select for that, because so many keyboards these days have lights. Why would I want lights in the keyboard? I want lights in the room, such as on the ceiling, not in the keyboard.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-03-27 13:44 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.