Perl 6 - the future is here, just unevenly distributed

IRC log for #sdl, 2014-02-19

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:32 t4nk362 joined #sdl
01:21 jq joined #sdl
02:19 FROGGS_ joined #sdl
04:06 robn joined #sdl
07:34 GibbaTheHutt joined #sdl
07:37 robn joined #sdl
07:43 FROGGS joined #sdl
09:18 TonyC_ joined #sdl
09:58 kaare joined #sdl
12:53 dod joined #sdl
18:52 FROGGS joined #sdl
20:18 mtj hey peeps, is there a good reason why most for the SDL subs() are not exportable?
20:19 mtj i think i am using 'exportable' correctly, here.. :)
20:19 FROGGS what subs do you mean?
20:20 mtj hey FROGGS  :)
20:20 FROGGS most of the subs are actually methods
20:20 mtj ok, like… SDL::GFX::Primitives::pixel_RGBA()
20:20 FROGGS hey mtj :o)
20:20 mtj what i really wanna do is just be able to write...
20:20 FROGGS let me take a look
20:21 mtj use SDL::GFX::Primitives;
20:21 mtj pixel_RGBA( $x, $y, $x);
20:21 mtj .
20:21 mtj but i get an 'Undefined subroutine'  error
20:21 FROGGS ahh, it might just be because these subs come from XS land
20:22 FROGGS I think we have to put them explicitly in EXPORT_OK
20:22 mtj ok, that sounds familiar..
20:23 FROGGS if you have the time please try that and then we can think about changing it :o)
20:23 mtj yep, will do
20:23 mtj ta :)
20:24 FROGGS :o)
21:16 kaare joined #sdl
23:23 kaare joined #sdl

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary