BEGIN { *MainLoop = \&MainLoop; }
Or a bit less ugly (IMHO):
use vars qw/&MainLoop/;
In reply to Re^2: Troubles when trying to use Tk conditionally
by moritz
in thread Troubles when trying to use Tk conditionally
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |