| 1 | use v5.10; | ||
| 2 | use MooseX::Declare; | ||
| 3 | use utf8; | ||
| 4 | class VAST::statement_control__S_unless { | ||
| 5 | use Mildew::AST::Helpers; | ||
| 6 | method emit_m0ld { | ||
| 7 | my $then = call 'postcircumfix:( )' => code($self->{xblock}{pblock}{blockoid}),[capturize]; | ||
| 8 | Mildew::AST::If->new | ||
| 9 | ( cond => $self->{xblock}{EXPR}->emit_m0ld, | ||
| 10 | then => lookupf('False'), | ||
| 11 | else => $then ) | ||
| 12 | } | ||
| 13 | } |