in reply to Re: Need help to remove AutoLoader in Tx::Text::SuperText
in thread Need help to remove AutoLoader in Tx::Text::SuperText

Unfortunately, you haven't given us much to go on, in that regard.

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

    IMO, your first question is one you must answer for yourself in your search for a solution. I've neither time nor inclination to go hareing back thru the module trying to see what might be involved in "I really only removed line 76 (use AutoLoader;) and removed lines 650 (1;) and (#__END__)."

    As to your "suspicion," it may be well-founded. Consider Corion's reply which looks to be well-worth your attention and followup.


    Spirit of the Monastery

    check Ln42! (or maybe Ln420?)