Subject: | Plugin::Filter can't pass multivalued options to bundle |
One can't pass duplicated options to the bundle, only allows '-remove' to be duplicated.
mvp_multivalue_args issue?
For example: passing multiple "except" lines to PruneCruft filter on a modified @Basic bundle
fails with an error.
[@Filter]
-bundle = @Basic
-remove = MetaYAML
except = secret_file_1.txt
except = secret_philez
error:
multiple values given for property except in section @Filter at
.../perl5/lib/perl5/Config/MVP/Assembler.pm line 98.
I doubt we want to load all the (non filtered) plugins in the bundle and combine their
mvp_multivalue_args settings, so this may just need a documentation work around. Is their
an option other than removing the plugin from the bundle and then configuring it manually,
ala:
[@Filter]
-bundle = @Basic
-remove = MetaYAML
-remove = PruneCruft
[PruneCruft]
except = secret_file_1.txt
except = secret_philez
Thanks,
Andrew