in reply to I am not able to install DBD::Sybase module using cpan on windows as well as Ubuntu
Did you read the error message?
Please set SYBASE in CONFIG, or set the $SYBASE environment variable a +t [download]
So, did you do that?