Run the sample script for the SAP Adaptive Server Enterprise database driver for
Perl.
- Locate Perl samples in $SYBASE/$SYBASE_OCS/samples/perl.
- Verify that SAP Adaptive Server is up and running.
- Ensure that the PERL5LIB environment variable is set.
-
On Linux x86-64 64-bit drivers, specify the
$SYBASE/$SYBASE_OCS/perl/sybaseperl_64r/lib/lib: \
$SYBASE/$SYBASE_OCS/perl/sybaseperl_64r/lib/arch
directory.
-
On Solaris x86 32-bit and Solaris SPARC 32-bit drivers, specify the
$SYBASE/$SYBASE_OCS/perl/sybaseperl_32/lib/lib: \
$SYBASE/$SYBASE_OCS/perl/sybaseperl_32/lib/arch directory.
-
On IBM AIX 32-bit, HP-UX Itanium 32-bit, and Linux on POWER 32-bit drivers
specify the $SYBASE/$SYBASE_OCS/perl/sybaseperl_32r/lib/lib:
\
$SYBASE/$SYBASE_OCS/perl/sybaseperl_32r/lib/arch
directory.
- Run the sample:
See the Adaptive Server Enterprise Database Driver for PERL Programmers Guide
for more details.