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

Fix for #1096 - import and GetOpt::Long issue. #1098

wants to merge 1 commit into
base: devel


None yet
2 participants

brad-mac commented Jan 15, 2015

Moved initialisation of $as_script to a block enclosing the import sub; this means that the first

use Dancer ':script';

will prevent subsequent

use Dancer;

lines (as found in modules that themselves use Dancer, used from a script) trying to parse command-line arguments.

@yanick yanick closed this in ac6c8f3 Jan 16, 2015


This comment has been minimized.

Show comment
Hide comment

yanick Jan 16, 2015


Merged, thanks!


yanick commented Jan 16, 2015

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment