The code is from the samples provided by Tk I just changed the sentence to an Arabic one , As for the version I just built it using strawberry on windows vista so i think it is the latest .. here is the code
#!/usr/local/bin/perl -w # # Simple Tk script to create a button that prints "Hello, world". Cli +ck on # the button to terminate the program. # # The first line below imports the Tk objects into the application, th +e second # line creates the main window, the third through sixth lines create t +he button # and defines the code to execute when the button is pressed, the seve +nth line # asks the packer to shrink-wrap the application's main window around +the # button, and the eight line starts the event loop. use Tk; $MW = MainWindow->new; $hello = $MW->Button( -text => 'Hello, world', -command => sub {print STDOUT "Hello, world\n"; exit;}, ); $hello->pack; MainLoop;
I will check the link you provided now .. thanks

In reply to Re^2: Tk Characters by Swalif
in thread Tk Characters by Swalif

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.