}
sub expand_body {
- my (@body) = @_;
+ my ($body) = @_;
+ die "No body!" unless $body;
local our @Body_Parts;
- $tcl->Eval(@body);
+ $tcl->Eval($body);
return @Body_Parts;
}
return;
});
+$tcl->CreateCommand(not => sub {
+ my (undef, undef, undef, $body) = @_;
+ push our @Body_Parts, [ not => expand_body($body) ];
+ return;
+});
+
$tcl->CreateCommand(n => \&show);
#$tcl->Eval(q{query D {directory_at D 't'; mode D '0755'; }});