Sanko Robinson > FLTK-0.532009 > FLTK::Plugin



Annotate this POD


View/Report Bugs
Module Version: 0.532006   Source  


FLTK::Plugin - Portable loading of plugins

Description ^

This is a wrapper to make it simple to load plugins on various systems.

Functions ^


my $pointer = $plugin->load_plugin( $file, $symbol );

Will load the file as a plugin and then return a pointer to symbol in that file.

If symbol is undefined, it will return a non-zero value if the plugin loads but you cannot use this value for anything.

If there is any problem (file not found, does not load as a plugin, the symbol is not found) it will return null if there is any problem and print debugging info on STDERR.

Author ^

Sanko Robinson <> -

License and Legal ^

Copyright (C) 2008-2010 by Sanko Robinson <>

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.

syntax highlighting: