/usr/local/bin/perl is a normal file (not a sym link) from the most recent
perl install. Sym links are set up, but not correctly.
-rwxr-xr-x 1 root wheel 856592 Apr 29 01:46 perl
lrwxr-xr-x 1 root wheel 19 Apr 29 01:46 perl5 -> /usr/local/bin/perl
lrwxr-xr-x 1 root wheel 19 Apr 29 01:28 perl5.6.1 -> /usr/local/bin/perl
lrwxr-xr-x 1 root wheel 19 Apr 29 01:46 perl5.8.0 -> /usr/local/bin/perl
So, perl5.6.1 points to perl which is 5.8.0. Doesn't make sense. sperl is
done correctly, however.
-rws--x--x 1 root wheel 741960 Apr 29 01:28 sperl5.6.1
-rws--x--x 2 root wheel 856752 Apr 29 01:46 sperl5.8.0
make perl5.6.1 and perl5.8.0 regular files, and set up perl/perl5 as sym
links according to the owner's preference.
I'll take care of this.
Take a look at PR/55760.
This issue is mostly fixed in the recent update of lang/perl5 and