my $x = 42; assert '$x > 40'; # assertion fails, # because eval can't see $x