PC: Intel x86
OS : Red Hat Linux 6.2 (Zoot)
Db: Sybase 11.03

Problem:
I want to run my perl 3 Lines script from shell prompt.
a small script like this;
# script name test.pl
Line 1:  #!/usr/bin/perl -w
Line 2: use DBI ;
Line 3: use DBD::Sybase;

i provide following line on shell( c-shell)
perl -d test.pl

it is producing following error
>Loading DB routines from perl5db.pl version 1.0402
>Emacs support available.
>
>Enter h or `h h' for help.
>
>Signal SEGV at test.pl line 0
>        main::BEGIN() called at 
>/usr/lib/perl5/site_perl/5.005/i386-linux/DBD/Sybase.pm line 0
>        eval {...} called at /usr/lib/perl5/site_perl/5.005/i386-linux/DBD/Sybase.pm 
>line 0
>Aborted (core dumped)

I've run the same script from IE browser it runs FINE,
but on the shell prompt it is producing error,

Any Idea why this is happening?

regards
--ahmed.

Reply via email to