# OpenGL::GLFW perl bindings (alpha release)

**URL:** https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959
**Category:** share
**Created:** [August 6, 2017, 5:07pm UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959 "2017-08-06T17:07:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![devel-chm](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/devel-chm/32/119_2.png) [@devel-chm](https://discourse.glfw.org/u/devel-chm)
#### Post date: [August 6, 2017, 5:07pm UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959/1 "2017-08-06T17:07:44Z")

</div>

I have just released a first (alpha/unofficial) release of  
OpenGL::GLFW bindings from perl to GLFW. They  
can be downloaded at

[http://www.cpan.org/authors/id/C/CH/CHM/OpenGL-GLFW-0.02\_01.tar.gz](http://www.cpan.org/authors/id/C/CH/CHM/OpenGL-GLFW-0.02_01.tar.gz)

and browsed at

[https://metacpan.org/release/CHM/OpenGL-GLFW-0.02\_01](https://metacpan.org/release/CHM/OpenGL-GLFW-0.02_01)

I would appreciate any feedback and/or testing of the  
module from the GLFW user community as I haven’t  
done much GLFW development and these bindings  
are pretty much by the book.

The bindings are a bit raw as far as the GLFWimage,  
GLFWgammaramp and GLFWvidmode types but I  
believe they are workable.

As well, the implementation of the callback setting  
routines do not return the previously set callback.  
I’d like input on whether this is essential to implement  
before an official release is made that could be added  
to your list of language bindings.

Thanks much,  
Chris

---

<div class="post-metadata">

### Author: ![elmindreda](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/elmindreda/32/26_2.png) [@elmindreda](https://discourse.glfw.org/u/elmindreda)
#### Post date: [August 6, 2017, 10:17pm UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959/2 "2017-08-06T22:17:56Z")

</div>

> [@devel-chm](#):
>
> I have just released a first (alpha/unofficial) release of OpenGL::GLFW bindings from perl to GLFW.

Cool!

> [@devel-chm](#):
>
> As well, the implementation of the callback setting routines do not return the previously set callback. I’d like input on whether this is essential to implement before an official release is made that could be added to your list of language bindings.

It’s a relatively minor feature, so I wouldn’t require it. Are you planning to add it later?

---

<div class="post-metadata">

### Author: ![devel-chm](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/devel-chm/32/119_2.png) [@devel-chm](https://discourse.glfw.org/u/devel-chm)
#### Post date: [August 6, 2017, 10:43pm UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959/3 "2017-08-06T22:43:22Z")

</div>

Yes, the callback setter return values will be added.

---

<div class="post-metadata">

### Author: ![elmindreda](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/elmindreda/32/26_2.png) [@elmindreda](https://discourse.glfw.org/u/elmindreda)
#### Post date: [August 7, 2017, 12:47am UTC](https://discourse.glfw.org/t/opengl-glfw-perl-bindings-alpha-release/959/4 "2017-08-07T00:47:29Z")

</div>

If that’s the only missing feature then I’d be happy to add it to the bindings table, especially as there is no other binding for Perl.
