zentara has asked for the wisdom of the Perl Monks concerning the following question:
Output:#!/usr/bin/perl use warnings; use strict; use Tk; my $mw = tkinit; my $textb = $mw->Text->pack(); my $text = 'This answer is copyright ' . chr(169); my @array = (1..10); $textb->insert('end',@array); $textb->insert('end',"\n@array\n"); $textb->insert('end',$text); MainLoop;
13579 #??????? 1 2 3 4 5 6 7 8 9 10 This answer is copyright ©
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: weird problem inserting an array into a Tk text widget
by zentara (Cardinal) on Oct 16, 2008 at 12:00 UTC | |
by vkon (Curate) on Oct 16, 2008 at 13:16 UTC |