Skip to content

Conversation

Leont
Copy link
Member

@Leont Leont commented Jun 18, 2025

Currently Module::Build::Tiny requires that the action comes before the arguments. This was strictly necessary before we deprecated .modulebuildrc files at the 2013 QAH in Lancaster. This ordering isn't needed anymore, but I'm not sure if we should allow other orders too.

I should emphasize, the Build.PL spec only specifies the [action options] order, not the [options actions] order, so Module::Build::Tiny isn't quite wrong, and if we change things here we should probably also update the spec.

Alternatively, we could issue a warning if anything is left in @ARGV after argument parsing.

Currently Module::Build::Tiny requires that the action comes before the
arguments. This was strictly necessary before we deprecated
.modulebuildrc files at the 2013 QAH in Lancaster.

I should emphasize, the Build.PL spec only specifies the
[action options] order, not the [options actions] order, so
Module::Build::Tiny isn't quite wrong, and if we change things here we
should probably also update the spec.

Alternatively, we could issue a warning if anything is left in @ARGV
after argument parsing, which would suggest that argument isn't being
used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant