The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

DedupeIncludeStatements

In this rule, multiple identical "use" statements of the same module are merged.

For example, this code:

    use File::Temp;
    use Foobar;
    use File::Temp;

... is transformed to:

    use File::Temp;
    use Foobar;

Two statements are consider identical if, and only if, they are literally the same, character-to-character.