Perl path - How do I fix @INC?

Something odd has happened to my Perl @INC. While trying to solve a different problem, I noticed during an Extension install it stated my Perl architecture is “confused”. When I print out @INC, I see:

@INC:
    /etc/perl
    /usr/local/lib/x86_64-linux-gnu/perl/5.34.0
    /usr/local/share/perl/5.34.0
    /usr/lib/x86_64-linux-gnu/perl5/5.34
    /usr/share/perl5
    /usr/lib/x86_64-linux-gnu/perl-base
    /usr/lib/x86_64-linux-gnu/perl/5.34
    /usr/share/perl/5.34
    /usr/local/lib/site_perl

There shouldn’t be 2 /usr/lib/x86_64-linux-gnu/perl/5.34 entries, and the /usr/lib/x86_64-linux-gnu/perl-base shouldn’t be there. Is there a way I can get rid of those? This was a fresh install of Ubuntu 22.04 and RT install so I’m not sure how this happened exactly.