in reply to Sybase Modules

"Can't locate warning.pm in @INC..."

This indicates that you have used the line:

use warnings;
in your script. This is good but your old Perl V 5.004 doesn't know what this means. The warnings pragma was introduced with Perl 5.6.

Just keep the '-w' flag on the first line of your script and it will be OK.

I also strongly suggest you to have
use strict;
in your script.

Update: BTW, it looks as if you've written
use warning;
when the correct pragma should be
use warnings; # Note the 's'



Everything went worng, just as foreseen.