Skip to content

Class names with '=' character not handled #8

@rjattrill

Description

@rjattrill

The Perl interpreter does not place any restrictions on class names.

However, class names with an '=' sign cause Data::Dump to issue a warning such as:

Can't handle >Table2|t2=HASH data at c:/opt/strawberry/perl/vendor/lib/Data/Dump.pm line 377.

Data::Dump then cannot dump the instance data.

There is a rough test case at https://gist.github.com/rjattrill/5955171 which can be used to demonstrate this.

See also https://rt.perl.org/rt3//Public/Bug/Display.html?id=101814 for a similar bug.

The CPAN module DBIx::DataModel creates classes dynamically and uses '<=>'
to indicate result sets based on dynamic table joins.

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