dear monk

i have a problem.

i want to make a notepad with Perl

but each character that user enter in notepad should show different set of selected character

let when user type "h" on that notepad the screen should show that he had press "y" character

what i have to do

dear monk

i want to make a small game using perl tk similar to peter answer(www.peteranswers.com)

their are 2 box one is petition box and question box

the user have to type a question in question box and

and answer of that question in the petition box

with beginning character "."

the program take all the character typed after "." as answer to that question.

Though the user is typing answer to the question, but for

each character the type the screen show a petition line "peter please answer."

first problem is that how to make it is possible that user

is pressing a diffrent key but the display is showing it somthing else

Original content restored and struck out by GrandFather


In reply to peter answer game problem by anonymoushydrogen

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.