-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prima eats options in @ARGV #42
Comments
yes, this is known and expected. You probably want to say "use Prima::noARGV;" as a first statement |
However I agree that this is weird by default, and there should be better ways to interoperate with ARGV by default |
does it work for you with noARGV? If yes, I'll close the ticket |
Sorry - yes, it works right as you said!It might need more documentation, but the code works fine ;) Please close, Am 22. November 2016 13:33:26 MEZ, schrieb Dmitry Karasik notifications@github.com:
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. |
This feels weird. The attached test fails as soon as the
use Prima;
statement is active. It passes whenuse Prima;
is commented out. There seems to be a conflict between Getopt::Long and Prima, as Getopt::Long does not see all contents of @argv if Prima is loaded before it. For example the--help
command gets eaten by Prima and it outputs:which is unexpected
Prima-GetOptions.t.txt
The text was updated successfully, but these errors were encountered: