for my $path ( 'modified', 'deleted' ) { ... }