Allow perl-5.8.1

I've made a few changes to replace 5.10.1 features with those that will work with 5.8.1.

`$work` is a mix of RHEL5 and Windows - an environment where P9Y::PT is very useful (and better than Proc::PT). However RHEL5 is still stuck on perl-5.8.8.