Tk::Splash - create a splash screen in a compatible way
BEGIN { require Tk::Splash; $splash = Tk::Splash->Show($image, $width, $height, $title, $overrideredirect); } ... use Tk; ... $splash->Destroy; MainLoop;
This module is another way to create a splash screen. It is slower than Tk::FastSplash, but tries to be compatible by using standard Tk methods for creation.
The arguments to the Show are the same as in Tk::FastSplash. For further documentation, see Tk::FastSplash.
Since displaying the splash screen is done during compile time, the splash screen will also occur if the script is started using perl's -c (check) switch.
-c
Slaven Rezic
Tk::FastSplash
To install Tk::Splash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::Splash
CPAN shell
perl -MCPAN -e shell install Tk::Splash
For more information on module installation, please visit the detailed CPAN module installation guide.