Restore the whence feature

To be merged after 14.5 is out.

Please, someone test this on a host where perl-List-MoreUtils is not
available or has been blacklisted.