The only way to solve the issue was by setting the $SYBASE variable globally.
In reply to Re: Problems with DBD::Sybase on Win2K by busunsl in thread Problems with DBD::Sybase on Win2K by Wookie