http://www.perlmonks.org?node_id=1196262


in reply to Unable to install OpenGL::Shader

This is most likely because OpenGL shaders moved on a bit and now every shader program requires a #version directive at the start.

You could add the appropriate line to the test shader, as discussed in this test report.

A somewhat more recent version of OpenGL bindings is OpenGL::Modern, which also tries to be compatible to OpenGL and OpenGL::Shader, so maybe you want to try that if you want to do shader oriented programming.