find unused perl subs

as per ttp://blogs.perl.org/users/ovid/2012/07/finding-unused-subroutines.html
but with some modifications