Gimp::Features - check for specific features to be present before registering the script.
use Gimp::Features;
or
use Gimp::Features qw(feature1 feature2 ...);
This module can be used to check for specific features to be present. This can be used to deny running the script when neccessary features are not present. While some features can be checked for at any time, the Gimp::Fu module offers a nicer way to check for them.
gtk
checks for the presence of the gtk interface module.
gtk-1.1
gtk-1.2
checks for the presence of gtk-1.1 (1.2) or higher.
perl-5.005
checks for perl version 5.005 or higher.
pdl
checks for the presence of a suitable version of PDL (>=1.9906).
gnome
checks for the presence of the Gnome-Perl module.
gtkxmhtl
checks for the presence of the Gtk::XmHTML module.
The following features can only be checked after Gimp-main> has been called (usually found in the form exit main). See Gimp::Fu on how to check for these.
Gimp-
exit main
gimp-1.1
gimp-1.2
checks for the presense of gimp in at least version 1.1 (1.2).
Marc Lehmann <pcg@goof.com>
perl(1), Gimp(1).
To install Gimp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gimp
CPAN shell
perl -MCPAN -e shell install Gimp
For more information on module installation, please visit the detailed CPAN module installation guide.