Perl 6 - the future is here, just unevenly distributed

IRC log for #pr-challenge, 2015-02-17

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:35 vroom joined #pr-challenge
00:36 boreas joined #pr-challenge
00:44 punter joined #pr-challenge
01:07 rjbs What's the protocol on email NB and say so?
01:08 rjbs *protocol on saying you're done?  Just email...
01:23 fuzzix joined #pr-challenge
01:28 boreas joined #pr-challenge
01:29 jamessan rjbs: email Subject: "I'm done" and provide GH username, Dist, and PR
01:41 n2plato joined #pr-challenge
01:54 vroom joined #pr-challenge
02:12 Peter joined #pr-challenge
02:36 rjbs thanks
02:40 vroom joined #pr-challenge
02:48 ilbot2 joined #pr-challenge
02:48 Topic for #pr-challenge is now 'pr-challenge CPAN PR Challenge: https://github.com/CPAN-PRC/resources | public logs at http://irclog.perlgeek.de/pr-challenge/today | January assignments: http://rawgit.com/CPAN-PRC/resources/master/january.html'
02:57 Su-Shee joined #pr-challenge
04:15 vroom joined #pr-challenge
04:35 vairav joined #pr-challenge
05:23 vairav joined #pr-challenge
05:26 boreas joined #pr-challenge
05:35 BRAD joined #pr-challenge
06:55 vairav joined #pr-challenge
08:01 reneeb joined #pr-challenge
08:49 neilb joined #pr-challenge
09:26 neilb joined #pr-challenge
09:29 boreas joined #pr-challenge
10:11 sue joined #pr-challenge
10:50 ambs joined #pr-challenge
11:18 ambs joined #pr-challenge
11:31 fredericop joined #pr-challenge
12:14 kid51 joined #pr-challenge
12:24 daveh joined #pr-challenge
12:42 vroom joined #pr-challenge
12:59 vroom joined #pr-challenge
13:10 boreas joined #pr-challenge
13:15 vroom joined #pr-challenge
13:25 tinypig joined #pr-challenge
13:35 punter joined #pr-challenge
13:37 boreas joined #pr-challenge
13:49 manchicken joined #pr-challenge
13:49 boreas joined #pr-challenge
13:50 tinypig joined #pr-challenge
13:54 manchicken_ joined #pr-challenge
14:18 vroom joined #pr-challenge
14:20 gryphon joined #pr-challenge
14:37 gryphon_ joined #pr-challenge
14:53 vroom joined #pr-challenge
15:06 vroom joined #pr-challenge
15:39 vroom joined #pr-challenge
15:50 vroom joined #pr-challenge
15:53 Ptolemarch joined #pr-challenge
16:14 solargroovy joined #pr-challenge
16:26 manchicken joined #pr-challenge
16:53 Ptolemarch joined #pr-challenge
17:27 neilb joined #pr-challenge
17:46 RenatoCRON joined #pr-challenge
17:51 boreas joined #pr-challenge
18:10 punter joined #pr-challenge
18:46 Peter_R joined #pr-challenge
18:47 nawglan joined #pr-challenge
18:50 tinypig left #pr-challenge
19:07 manchicken joined #pr-challenge
19:10 neilb joined #pr-challenge
19:13 sue joined #pr-challenge
19:34 manchicken_ joined #pr-challenge
19:52 Ptolemarch joined #pr-challenge
19:54 gansh joined #pr-challenge
20:49 sue_ joined #pr-challenge
20:51 sue joined #pr-challenge
20:56 rvandam joined #pr-challenge
21:21 punter joined #pr-challenge
22:00 patrice joined #pr-challenge
22:23 patrice hi
22:23 punter joined #pr-challenge
22:35 neilb monsieurp: o/
22:44 monsieurp neilb: :)
22:44 monsieurp been slacking a bit lately
22:44 neilb well, you have a month :-)
22:44 monsieurp I've finally got round to droping an email to the package maintainer today
22:45 boreas joined #pr-challenge
22:45 monsieurp *dropping
22:46 monsieurp in the meantime I started looking through the source code and see what I can improve :)
22:53 monsieurp neilb: you have a minute? I'd need an explanation about some voodoo happening in a sub import {} function and I can't grok what it actually does
22:53 neilb I can certainly try
22:54 monsieurp https://github.com/naturalist/Validate--Tiny/blob/master/lib/Validate/Tiny.pm#L23
22:54 monsieurp what is this sorcery in the for loop
22:54 neilb heh
22:55 haarg which part?
22:55 neilb Ok, the first thing is, do you know the basics of how importing works?
22:55 monsieurp yeah roughly
22:55 monsieurp (ahem)
22:55 BooK and typeglobs?
22:56 BooK the *FOO{THING} notation, I think it's called in the camel book
22:56 haarg the eval is doing nothing useful
22:56 neilb When someone is using the module, the import() is called, and ${caller} is their package
22:57 monsieurp BooK: I read an article about typeglobs 2 days ago to help me understand how they work
22:57 monsieurp http://docstore.mik.ua/orelly/perl/advprog/ch03_01.htm <- this
22:57 neilb so the *{…} = … line is putting the sub ref into the caller’s package, ie making the sub available to them
22:57 BooK one of the early chapters of advanced perl programming 2nd ed, by simon cozens, has a good explanation iirc
22:58 BooK that link points to the first edition
22:58 veryrusty joined #pr-challenge
22:58 neilb So without looking at the _match() function ,it’s saying that if the named function $sub is in the @EXPORT_OK array (ie it’s ok to export it), then export it to the caller’s namespace
22:59 haarg when you do *blah = $subref, it installs the given subref in the CODE slot of the blah glob
22:59 BooK what haarg said
23:00 BooK also, named glob, so it's actually sticking it in the corresponding namespace
23:00 neilb monsieurp: if you want, I’ve got some slides that go into this in more detail?
23:00 boreas joined #pr-challenge
23:00 monsieurp neilb: yes
23:00 neilb ok
23:01 monsieurp I'd like to get to the bottom of typeglobs :( I mean .. just for the sake of figuring them out
23:01 monsieurp in modern perl programming, you hardly ever use them (do you?)
23:01 manchicken joined #pr-challenge
23:02 thrig they're mostly totally hidden
23:02 monsieurp yeah
23:02 Jayce^ usually if you are doing magic(TM)
23:02 haarg exporters are the most common place you run into them
23:03 haarg not sure why that module is reimplementing Exporter
23:03 neilb monsieurp: email coming your way
23:05 monsieurp got it
23:07 monsieurp reading it
23:10 BooK I used to use them when writing quick accessors... code generating code
23:20 boreas joined #pr-challenge
23:43 kid51 joined #pr-challenge
23:52 jamessan Also useful to have AUTOLOAD only search for a function once.  When found, install it into the namespace, although I've never done any profiling to see whether that's just premature optimization

| Channels | #pr-challenge index | Today | | Search | Google Search | Plain-Text | summary