my $mw = MainWindow->new;
my $text = $mw->Text->pack;
$text->insert('end', 'hello world', 'mytag');
$text->deleteTextTaggedWith('mytag');
MainLoop;
The deleteTextTaggedWith
causes:
Can't locate auto/Tk/Text/deleteTextT.al in @INC (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at Programs/weird.pl line 10.
Why is this?
For unknown reasons, the name of the method is in fact DeleteTextTaggedWith
(note the upper case D
), not deleteTextTaggedWith
.
Update 1: Reported.
Update 2: Pull Request submitted.