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;