Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for #1096 - import and GetOpt::Long issue. #1098
Moved initialisation of $as_script to a block enclosing the import sub; this means that the first
use Dancer ':script';
will prevent subsequent
lines (as found in modules that themselves use Dancer, used from a script) trying to parse command-line arguments.