fix(tools): allow operations (currently set) on hash children in execute mode of access module
This commit is contained in:
parent
b5264131c4
commit
f506ec4ac8
@ -192,6 +192,16 @@ sub access_chain
|
||||
|
||||
if ($is_last_key)
|
||||
{
|
||||
# Allow operators on hash children. Mainly used for cleaning up before refreshing children of $anvil->data.
|
||||
my $op = $chain_args->[0] // "";
|
||||
|
||||
if ($op eq "=")
|
||||
{
|
||||
my $op_value = $chain_args->[1];
|
||||
|
||||
$intermediate->{$key} = $op_value if (defined $op_value);
|
||||
}
|
||||
|
||||
@results = ($intermediate->{$key});
|
||||
|
||||
last;
|
||||
|
Loading…
Reference in New Issue
Block a user