Skip to content

String hex values are converted to integer #104

@clintolsen

Description

@clintolsen

Hi, even though $YAML::XS::QuoteNumericStrings defaults to true, it doesn't dump this snippet correctly. The hex value should be quoted.

p Dump qw(a b 1 0x1234);
--- a
--- b
--- '1'
--- 0x1234

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions