Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for gimp::feature (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Feature(3)		       User Contributed Perl Documentation		       Feature(3)

       Gimp::Feature - check for specific features to be present before registering the script.

	 use Gimp::Feature;


	 use Gimp::Feature 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.

	   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.

	   checks for perl version 5.005 or higher.

	   checks for the presence of a suitable version of PDL (>=1.9906).

	   checks for the presence of the Gnome-Perl module.

	   checks for the presence of the Gtk::XmHTML module.

	   checks wether the script runs on a unix-like operating system. At the moment, this is
	   every system except windows, macos, os2 and vms.

	   checks wether the "Gimp::Data" module (Gimp::Data) can handle complex persistent data
	   structures, i.e. perl references in addition to plain strings.

       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-1.1", "gimp-1.2"
	   checks for the presense of gimp in at least version 1.1 (1.2).


	   Checks for the presense of the single feature given as the argument. Returns true if
	   the feature is present, false otherwise.

	   Require a specific feature. If the required feature is not present the program will
	   exit gracefully, logging an appropriate message. You can optionally supply a function
	   name to further specify the place where this feature was missing.

	   This is the function used when importing symbols from the module.

	   Indicates that a generic feature (described by the first argument) is missing. A func-
	   tion name can further be specified. This function will log the given message and exit

	   Returns a string describing the given feature in more detail, or undef if there is no
	   description for this feature.

	   Returns a list of features that can be checked for. This list might not be complete.

       Marc Lehmann <pcg@goof.com>

       perl(1), Gimp(1).

perl v5.8.0				    1999-11-22				       Feature(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:20 PM.