Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Tk perl

by Jouke (Curate)
on Jul 30, 2001 at 17:24 UTC ( #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
Node Status?
node history
Node Type: note [id://100854]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2019-08-25 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?