Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Tk perl

by physi (Friar)
on Jul 30, 2001 at 17:15 UTC ( [id://100849]=note: print w/replies, xml ) Need Help??


in reply to Displaying text file with perl/tk

put your file in an array and tail it to the text widget:
open FILE, "filename" my @file = <FILE>; for my $line (@file) { $text->insert('end', $line); }
----------------------------------- --the good, the bad and the physi-- -----------------------------------

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found