Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

deprecate or remove B-Debug #324

@rurban

Description

@rurban

See https://rt.cpan.org/Public/Bug/Display.html?id=122599
The suggestion was use if "$]" >= 5.027003, 'deprecate';, which should be use if $] >= 5.027003 and only for the core version of course.
They want to keep it for one more major release and remove it with 5.30.

This sounds bad, but I haven't made up my mind yet for a such a trivial module nobody needs.

If, the if module dependency is a stopper.

BEGIN { if ($] >= 5.027003) { require deprecate; import deprecate; } }

would be the right thing to do.

class needs also to be replaced with B::class, and $cv->GV needs to be avoided for CvNAMED

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions