http://www.perlmonks.org?node_id=265421


in reply to Re^3: chaining method calls
in thread chaining method calls

>> wonder if Perl6 will have an explicit syntax? It's my understanding that perl6 will change the method call operator to operate on the current blocks default variable ($_ is always the default var in perl5). Which allows you write things like:
sub foo { my $bar=new Obj, is default; #ok, I don't remember the exact syntax b +ut I'm sure you get what I mean .foo(); .baz(); .qux(); }