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

Decimal marks trigger Data::Dumper quote numbers #17398

Open
jidanni opened this issue Dec 28, 2019 · 0 comments
Open

Decimal marks trigger Data::Dumper quote numbers #17398

jidanni opened this issue Dec 28, 2019 · 0 comments
Labels
dist-Data-Dumper issues in the dual-life blead-first Data-Dumper distribution Needs Triage

Comments

@jidanni
Copy link
Member

jidanni commented Dec 28, 2019

Decimal marks trigger Data::Dumper to turn numbers into strings and quote them:

$ perl -MData::Dumper -we 'for (1, -1, 1.1){ print Dumper $_;}'
$VAR1 = 1;
$VAR1 = -1;
$VAR1 = '1.1';

with no way to control this action.

If it is smart enough to not quote numbers with minus bars, it also should for numbers with decimals.

v5.30.0

@jkeenan jkeenan added the dist-Data-Dumper issues in the dual-life blead-first Data-Dumper distribution label Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dist-Data-Dumper issues in the dual-life blead-first Data-Dumper distribution Needs Triage
Projects
None yet
Development

No branches or pull requests

2 participants