ungalnanban,

Let me explain why I can't answer your question.

Normally I love a good Tk problem.  Tk is fun to work with, and can almost always be made to do exactly what you want, even though it sometimes challenges you.

So when I saw your question, I immediately cut and pasted the text into a new program to try it.  Of course, I didn't get anywhere because it's far from complete.

Now think about it.  When you ask a question here, you're asking for help.  That means you have to meet us halfway.  Why should we have to guess what the beginning of your program looks like?!  That's extra work; likely to be useless, since we're not guaranteed to get the same error as you get.  All at once your question goes from a potentially interesting one to one I have no interest in solving.

Now I see you've asked a similar question before, so I went and looked at that one too.  Well, guess what?  You're expecting us to do your work for you there, too!  You're not going to get much help if you can't be bothered to show more of your problem.  Only you know what the rest of the program is; why should we waste our time trying to guess at it?


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

In reply to Re: PERL Tk Editor: Text alignment is not working in Text widget [-justify option] by liverpole
in thread PERL Tk Editor: Text alignment is not working in Text widget [-justify option] by ungalnanban

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.