develooper Front page | perl.perl6.language | Postings from March 2009

Re: Recursive Runtime Role Reapplication Really Rebounds

Thread Previous | Thread Next
From:
Dave Whipp
Date:
March 12, 2009 13:38
Subject:
Re: Recursive Runtime Role Reapplication Really Rebounds
Message ID:
20090312203836.26518.qmail@lists.develooper.com
Larry Wall wrote:
> Note however that coercions require parens these days, since types parse
> as values, not as routine names.
> 
>     $x = Role::Serializable::XML($resultset);
>     $y = Role::Serializable::YAML($resultset);

Should "indirect object" syntax work in this context?:

    $a = Foo: $value;

Also, given an appropriate infix:as operator:

    $a = Foo Ras $value;

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About