factor variable expansion out of assignment
[scpubgit/DKit.git] / lib / DX / Role / Op.pm
CommitLineData
60cda014 1package DX::Role::Op;
2
3use Moo::Role;
4
5has next => (is => 'ro');
6
7requires 'run';
8
b40d5c51 9sub but {
10 my ($self, @but) = @_;
11 $self->new(%$self, @but);
12}
13
60cda014 141;