open FILE, "filename" my @file = <FILE>; for my $line (@file) { $text->insert('end', $line); }
----------------------------------- --the good, the bad and the physi-- -----------------------------------
In reply to Re: Tk perl
by physi
in thread Displaying text file with perl/tk
by akm2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |