FLTK::Version - Version info for FLTK
Contains the version number for the FLTK library. This allows you to write conditionally compiled code for different versions of FLTK.
FL_VERSION describes the major, minor, and patch version numbers. The integer value is the major number. One digit is used for the minor number, and three for the "patch" number which is increased for each binary differnt release (it can go to 999).
FL_VERSION
999
Import FL_VERSION, FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION constants with the version tag.
FL_MAJOR_VERSION
FL_MINOR_VERSION
FL_PATCH_VERSION
version
my $ver = $version->version( );
Returns the value of FL_VERSION that FLTK was compiled with. This can be compared to the FL_VERSION function to see if the shared library of fltk your program linked with is up to date.
Import this function with the :version tag.
:version
Sanko Robinson <sanko@cpan.org> - http://sankorobinson.com/
Copyright (C) 2008-2010 by Sanko Robinson <sanko@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of The Artistic License 2.0. See the LICENSE file included with this distribution or notes on the Artistic License 2.0 for clarification.
When separated from the distribution, all original POD documentation is covered by the Creative Commons Attribution-Share Alike 3.0 License. See the clarification of the CCA-SA3.0.
To install FLTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FLTK
CPAN shell
perl -MCPAN -e shell install FLTK
For more information on module installation, please visit the detailed CPAN module installation guide.