Skip to content

Really check for unused variables #88

@bschmalhofer

Description

@bschmalhofer

Currently unused variables are detected with Variables::ProhibitUnusedVariables. But this check is very limited. Olaf Alders did a write up of the various ways of improving this, https://www.olafalders.com/2022/02/22/finding-unused-perl-variables/. I think it makes sense to add Code::TidyAll::Plugin::Test::Vars to the code policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions