fangly/io-pager — comment on commit 16a5baa9b660e5bc41a1f4206ff664c56c0d8ebc
File: lib/IO/Pager.pm line 29
By fangly:

On my system,
'''
$ ls -al `which pager`
lrwxrwxrwx 1 root root 23 Jan 4 2011 /usr/bin/pager -> /etc/alternatives/pager
'''
So maybe use /usr/bin/pager instead of /etc/alternatives/pager, and check for it before the other usual suspects because if should reflect the user-preferred pager?