1 package DX::Op::Exists;
6 has vars => (is => 'ro', required => 1);
7 has body => (is => 'ro', required => 1);
12 my ($self, $state) = @_;
13 my $ret_op = DX::Op::SetScope->new(
14 scope => $state->scope,
17 $state->assign_vars(map +($_ => {}), @{$self->vars})
18 ->push_return_then($ret_op, $self->body);