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

the [POD] parser returns "0" on negated config options #4958

Closed
p6rt opened this issue Dec 30, 2015 · 3 comments
Closed

the [POD] parser returns "0" on negated config options #4958

p6rt opened this issue Dec 30, 2015 · 3 comments

Comments

@p6rt
Copy link

@p6rt p6rt commented Dec 30, 2015

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

Searchable as RT127085$

@p6rt
Copy link
Author

@p6rt p6rt commented Dec 30, 2015

From @gfldex

=begin pod
=config head1 :!numbered
=end pod

# Pod​::Config.new(type => "head1", config => {​:numbered("0")})
# whereby "0" is true, it should be 0 or Bool​::False

=begin pod
=config head1 :numbered
=end pod

# Pod​::Config.new(type => "head1", config => {​:numbered("1")})
# that works (as "1" is True) but Bool​::True would be better

@p6rt
Copy link
Author

@p6rt p6rt commented Sep 2, 2016

@p6rt
Copy link
Author

@p6rt p6rt commented Sep 2, 2016

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Sep 2, 2016
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