Since
chained mutators are not likely/easy/robust in Moose, I need to find a similar tool which does support things like below:
use Mouse;
has 'body' => (is => 'rw');
has 'hdr' => (is => 'rw');
has 'ftr' => (is => 'rw');
1;
my $m = Doc->new;
$m->body('double')->hdr->('headless')->ftr('soccer');
It appears that
Fey has some technology like this under the hood based on the synopsis example:
$select->select( $user->columns( 'user_id', 'username' ) )
->from( $user, $group )
->where( $group->group_id, 'IN', 1, 2, 3 )
->and ( $func, 'LIKE', 'smith%' );