Here's a code example (attached). Extract it to some folder. Run the tests with Perl. Doesn't include an installer, so remember to include the library folder, FBI:
$ perl -IFBI/ 00_test.pl message from XS core! $ perl -IFBI/ 01_test.pl another message from XS core! You can set the FBI_PUREPERL environment variable to force usage of XS, Perl or Automatic mode: $ export FBI_PUREPERL=0 $ perl -IFBI/ 00_test.pl message from XS core! $ export FBI_PUREPERL=1 $ perl -IFBI/ 00_test.pl message from XS core! $ export FBI_PUREPERL=2 $ perl -IFBI/ 00_test.pl message from PurePerl core! If the XS core fails to load for some reason (if you want to try you can put some random garbage in the XS module), a warning is displayed and the PurePerl core is used instead.
fbi_example.tar.gz
Description: GNU Zip compressed data