Another nice week with Web.pm. They usually start out slow, as if to give me some breathing-room after writing the previous week's summary, and then they just tend to take off, with more and more leads to follow. Furthermore, this increase seems to become stronger each week — a kind of meta-increase, if you will.
make call. (It's not that hard, really. It just sets the.ast property on the Match object to whatever you pass it.) We actually got a pl:if directive to behave as we wanted, that is we got it to appear and disappear based on the truth value of an expression. After I reluctantly left, viklund kept hacking on the proof-of-concept. As I write this, he's still at it: here's the latest version. viklund++${ $value }. They can occur in the content between tags, and as part of attribute values. If directives are simply elements with a pl:if attribute. The value of that attribute is evaluated as a Perl 6 expression, and the boolified result determines whether to serialize the whole element in question. For loops, correspondingly, are elements with pl:for attributes. The value of those attributes are also expressions, often evaluating to lists, which are then looped over. But there's a twist: you can also have the attribute value contain something like "@list -> $elem", and (just as in Perl 6 for-loops) the variable $elem will be magically available within the children of that element node. (Бог knows how we'll implement that last part, but the idea just feels too good to leave out.)All in all, a lot is happening, and my weekly agenda is starting to write itself to some extent. People are actually coming up to me on IRC and asking about Web.pm, which is both exhilirating and a bit scary. Need to fix all those things that don't work yet...
I wish to thank The Perl Foundation for sponsoring the Web.pm effort.
Week 7 of Web.pm -- blogs, Hitomi and server agnosticism 0 Comments More | Login | Reply /