If as you say perl -v reports v5.22.1 but cpan is installing to /usr/local/lib/x86_64-linux-gnu/perl/5.20.2/ it looks as though a Ubuntu has done something weird, which wouldn't be unheard of, for example. Do you have a #!/usr/local/bin/perl if so which version? Did you try using cpanm?
My preference, for an easy life, is to install my own version of perl elsewhere, and leave the system one alone. A custom install has resulted in fewer headaches. See also perlbrew.
In reply to Re^3: Can't get Tk.pm to work
by marto
in thread Can't get Tk.pm to work [SOLVED]
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |