Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

The most current stable version is Tk-804.028 released on 18 Dec 2007, which - for me - builds out of the box and passes all (even TODO) tests on perl-5.10.0, even under 64bit HP-UX 11.23

I get the most recent version from svn very often. I don't like svn, as it does only run on Linux, and I can't get it to work on HP-UX or AIX, so here's a script to get a tar archive from the svn trunk:

. . .
#!/pro/bin/perl use strict; use warnings; my $url = "http://svn.perl.org/modules/Tk/trunk"; chdir "/pro/3gl/CPAN/Tk"; my ($revision) = (`svn info $url` =~ m{\s Rev: \s+ ([0- +9]+) }mx); my @tbz = glob "Tk-*-[0-9]*.tbz"; if (@tbz and $tbz[-1] =~ m{.*-([0-9]+)\.tbz$} && $1 == $revision) { print STDERR "$tbz[-1] is the most recent already\n"; exit; } system "svn export $url Tk"; my ($version) = (`cat Tk/Tk.pm` =~ m{\b VERSION \s+ = \s* ["'] ([0- +9.]+) }mx); # " my $tkdir = "Tk-$version-$revision"; rename "Tk", $tkdir; print "Fetched $tkdir\n"; my $startrev = $revision - 400; # Last 100 changes qx{svn log -r $startrev:$revision $url >$tkdir/Changelog}; qx{tar -c -P -f - $tkdir | bzip2 -9 >$tkdir.tbz}; print "See $tkdir/Changelog for the most recent changes\n"; #qx{rm -rf $tkdir};

which will give you a file like

5408955 2007-12-18 13:05 Tk-804.027-10390.tbz

Enjoy, Have FUN! H.Merijn

In reply to Re: Perl 5.10.0 and Tk 804.027 by Tux
in thread Perl 5.10.0 and Tk 804.027 by g0n

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!
  • 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others browsing the Monastery: (5)
    As of 2015-07-08 02:42 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (93 votes), past polls