Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Tk perl

by Jouke (Curate)
on Jul 30, 2001 at 17:24 UTC ( [id://100854]=note: print w/replies, xml ) Need Help??


in reply to Displaying text file with perl/tk

In addition to physi's answer you should delete the part that starts with
# separate paragraphs with two newlines my $instr = <<'EOInstr';
and ends with

$text->insert('end', "TkSolitaire Instructions\n", 'title'); $text->insert('end', $instr);
Otherwise your text AND the current text will be displayed. You should replace the part I mentioned with physi's code Jouke Visser, Perl 'Adept'
Using Perl to help the disabled: pVoice and pStory

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://100854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found