Skip to content
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

-- makes - option when used with sub MAIN #2973

Closed
p6rt opened this issue Nov 15, 2012 · 4 comments
Closed

-- makes - option when used with sub MAIN #2973

p6rt opened this issue Nov 15, 2012 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Nov 15, 2012

Migrated from rt.perl.org#115744 (status was 'resolved')

Searchable as RT115744$

@p6rt
Copy link
Author

p6rt commented Nov 15, 2012

From glitchmr@myopera.com

  glitchmr@​feather ~> perl6 -e 'sub MAIN { %_.perl.say }' --
  ("-" => Bool​::True).hash

It should instead stop option processing. Because of that, it's currently
impossible to make first option that starts with - symbol.

@p6rt
Copy link
Author

p6rt commented Aug 26, 2015

From @coke

On Thu Nov 15 08​:24​:25 2012, glitchmr@​myopera.com wrote​:

glitchmr@​feather ~> perl6 \-e 'sub MAIN \{ %\_\.perl\.say \}' \-\-
\("\-" => Bool​::True\)\.hash

It should instead stop option processing. Because of that, it's currently
impossible to make first option that starts with - symbol.

Fixed in a7c845c, and there were already tests in S06-other/main-usage.t, which are now passing.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Aug 26, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Aug 27, 2015
@p6rt
Copy link
Author

p6rt commented Aug 27, 2015

@coke - Status changed from 'open' to 'resolved'

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

No branches or pull requests

1 participant