}
$tcl->CreateCommand(query => sub {
- my (undef, undef, undef, $vars, $body) = @_;
- @last_q = expand_def($vars, $body);
+ my (undef, undef, undef, $body) = @_;
+ @last_q = expand_body($body);
do_query();
return;
});
$tcl->CreateCommand($rule => $rule_sub);
}
-$tcl->CreateCommand(exists => sub {
- my (undef, undef, undef, $vars, $body) = @_;
- push our @Body_Parts, [ exists => expand_def($vars, $body) ];
- return;
-});
-
$tcl->CreateCommand(foreach => sub {
my (undef, undef, undef, $var, $body, $each_body) = @_;
push our @Body_Parts, [