Re-wrote some parts for more platform-specific code (Mac and VMS primarily). Thanks to Abigail and the PPT `which': http://www.perl.com/language/ppt/src/which/index.html
Removed the '~' handling: was probably broken anyway.
fixed a bug with pwhich -a where it would return the number of results instead of the results