sub _command_path {
my ($self, $command) = @_;
- return io->dir($self->ezmlm_bindir)->catfile("ezmlm-${command}");
+ if (ref(my $bindir = $self->ezmlm_bindir) eq 'ARRAY') { # prefix list
+ return (@{$bindir}, "ezmlm-${command}");
+ } else {
+ return io->dir($bindir)->catfile("ezmlm-${command}");
+ }
}
sub _command_args {