• Website:
  • About: I must blog about Perl
  • Commented on Fluent interfaces in Perl 6
    Cool! One remark: you don't need a closure for showing an attribute in a string, so: qq/Name: $.name/ will just do fine!...
  • Commented on Is Perl still a useful, viable language?
    I agree that Perl is the future. However, I think that if you think Perl's future depends on Larry's decision on what to name the next version of Perl, you are both demeaning to the fine folks that keep working...
  • Commented on Mystery Line in Proc Input in Perl 6
    Looking into it, it appears there is a different logic in setting EOF between getting a handle from a file, or from a process. The latter appears to be setting EOF too late, hence the extra empty line. Determining cause...
  • Commented on Refactoring Very Old Perl 5 in Perl 6
    Martin Hradil: re .index returning 0 but True? Alas, it didn't make it past TimToady's vetting in the long run :-( I removed that feature yesterday again, Long story: the feature was implemented using a subclass of Int, basically: class...
  • Commented on Refactoring Very Old Perl 5 in Perl 6
    Great post! Some comments: 1. You're using .trim the wrong way: .trim does *not* modify $_. It should probably warn in that case, actually. 2. You don't need .trim at all, as .words ignores any whitespace at the begin or...
  • Commented on Method Privacy in Perl
    Perhaps a source of enlightenment:
  • Commented on Rakudo and NQP Internals Workshop (14/15 Sep)
    Down to 2...
  • Commented on Rakudo and NQP Internals Workshop (14/15 Sep)
    Actually, down to 3 now!...
  • Posted Rakudo and NQP Internals Workshop (14/15 Sep) to Liz

    Perl6 is at a turning point. Now running on 2 virtual machines (Parrot and JVM), with 2 more coming available in the next months (Javascript and MoarVM), with abstract concurrency on the JVM now and full Perl 5 interop at the horizon in MoarVM.

    To make it easier for past, current and futu…

  • Commented on YAPC::Europe 2013 in Kiev, week minus 19
    Some people in the Ukraine may not like "Back in the USSR" as the background music. Then again, it *is* April 1st :-)...
  • Commented on Why I'm considering dropping Perlmonks
    I left PerlMonks a long time ago already but for a technical reason: it is just too damn slow. I was impressed by Schwern's YAPC keynote. The comic strip is just bad and in bad taste. As far as I'm...
  • Posted Perl Reunification Summit to Liz

    As some of you may know, my partner Wendy van Dijk and me organized a Perl Reunification Summit on the Friday and Saturday before the YAPC::Europe. Organizing this started in May already, when I tried to contact as many people face to face to discuss this, before finalizing the plan. When the…

  • Posted First Post to Liz

    So, why don't you write a blog? A question I have been asked many a time in the past years.

    I guess I mainly felt that I didn't have to tell the world much. And I was busy with $work.

    Then you stop $work and start with $sabbatical. And start acting on the strange ideas that you …

  • Commented on So, Kiev 2013
    Please make sure that he gets a visa. Otherwise, I understand, he will not be let into the Ukraine (as Australia is one of the few countries of which its citizens need a visa to travel to the Ukraine)....
  • Commented on post-yapc
    Steven: Perl 5 momentum is much on everybody’s mind. The last thing I want is to do, is to take people away from Perl 5 development. What I do want to achieve, is a long term environment in which Perl...
Subscribe to feed Recent Actions from Liz

  • Ovid commented on Fluent interfaces in Perl 6

    E. Choroba:

    There are two problems with that statement. First, the Wikipedia page shows method chaining and not really "fluent" interfaces. Second, you're used to method chaining as a way of making some code more readable. Perl 6 uses different idioms and the given idiom above is more natural for the language.

  • Offer Kaye commented on Fluent interfaces in Perl 6

    Ovid - cool on you for taking the time to spread Perl6 knowledge, especially on such an important site as Wikipedia - keep up the good job :)


    "Perl 6 uses different idioms and the given idiom above is more natural for the language."

    If that's really the case it would personally make Perl6 a pain to read and I hope (again personally, YMMV) that it's not true. Sorry :(

    say $'Sally').surname('Ride').salary(200);

    Seems natural to me and forces me to understand nothing about the internal structure of $employee (only the external API…

  • Ovid commented on Fluent interfaces in Perl 6

    Offer, we can safely set public attributes here because Perl 6 makes it trivial to allow powerful subsets which are more or less "the data types you want", but created on the fly.

    Also, you can see an older version I did (with Jonathan's help with the MOP hackery) at this older version of that.

    You'll note that you can use your version, but if you want it multi-line, you have to end each line with a backslash (or else Perl 6 will think that .foo is being called on…

  • Aristotle commented on Fluent interfaces in Perl 6

    Also you are directly setting attributes, rather than using a public API - isn't that usually something bad in OO code?

    Attributes in the interface don’t have to translate to fields in the class and assignments to such attributes don’t have to mean unchecked writes to private fields. It’s trivial to provide the same attribute interface outwardly but actually implement it with accessors/mutators behind the scenes.

    Just because that code would be bad in Java doesn’t mean it’s bad in Perl 6.

  • Rohit M commented on Fluent interfaces in Perl 6

    Great news, I love Perl. Thanks a ton

Subscribe to feed Responses to Comments from Liz

About is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.