user-pic

E. Choroba

Subscribe to feed Recent Actions from E. Choroba

  • Pablo Rodríguez commented on Machine learning in Perl

    Thanks Sergey!

  • Joel Berger commented on So I Guess I'm Back

    Oh I missed this post, glad to have you back!

  • zaki commented on So I Guess I'm Back

    Yay! Glad to see you around again!

  • Erik commented on Perl 6 Types: Made for Humans

    Are there any performance gains/hits when using variable types?

  • Zoffix Znet commented on Soft call operator: ~> (thoughts)

    > I try to google existing analogues

    We actually have safecall operator (.?) in Perl 6. It looks if an object .^can() call the provided method and returns Nil if it can't.

    It's not very versatile, because of the stuff a Nil type inherits, some of the methods you CAN call on it, but the call still fails because of type restrictions on those methods, so the whole thing goes crashing anyway.

    I guess Perl 5 isn't affected as much, since `undef` isn't an object, but I encourage you to think up of cases where it might end up being one...

Subscribe to feed Responses to Comments from E. Choroba

About blogs.perl.org

blogs.perl.org 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.