Re: DBI package problem?

[email protected]
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
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 (application/x-gzip, 1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.