in reply to ReShow images without user interact with the GUI.

Also, if I put the loading in imageHandling code outside the sub, I cant even load the image from the imageHandling object! Why?
What code? What sub?
  • Comment on Re: ReShow images without user interact with the GUI.

Replies are listed 'Best First'.
Re^2: ReShow images without user interact with the GUI.
by Ace128 (Hermit) on Feb 04, 2006 at 10:58 UTC
    I mean that I take this out from the mainloop2 sub:
    if (-e "imageHandling.pl") { my $app = do "imageHandling.pl"; if (!defined($app)) { die "imageHandling not loaded.\n"; } } else { print "imageHandling.pl not found.\n"; exit; }
    and put it "globally".
      and put it where?
        In the same file, but outside any sub.