in reply to Re: Need help to remove AutoLoader in Tx::Text::SuperText
in thread Need help to remove AutoLoader in Tx::Text::SuperText
True. What do you need to know?
I really only removed line 76 (use AutoLoader;) and removed lines 650 (1;) and (#__END__).
My example code looks as follows:
#!perl use strict; use warnings; use utf8; use 5.020; use FindBin qw/$Bin/; use lib $Bin . '/Tk-Text-SuperText-0.9.5'; use Tk; use Tk::Text::SuperText; say $Tk::Text::SuperText::VERSION; my $mw = tkinit(); my $st = $mw->SuperText->pack(-fill => 'both', -expand => 1); $mw->MainLoop; exit(0);
Maybe the module was broken from the beginning and the errors show regardless of the changes I did. But that's just a suspicion.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Need help to remove AutoLoader in Tx::Text::SuperText
by ww (Archbishop) on Feb 08, 2016 at 15:01 UTC |