When I run "cpan" after purging my configuration, the new configuration is written under the .local/share/.cpan directory, instead of .cpan as documented in the CPAN(3perl) man page.
Control: reassign -1 src:perl 5.30.0-8 It looks like this happens if both libfile-homedir-perl and xdg-user-dirs are installed, in which case CPAN.pm uses File::HomeDir to look up the directory, and File::HomeDir assumes you want to follow the FreeDesktop.org specification. Assuming this behaviour is deliberate, the CPAN.pm documentation should probably refer to File::HomeDir or something like that.