in reply to How How to make mac written perl program to work in VISTA

It would help if:
  1. Your code was enclosed in <code> ... </code> tags
  2. You tell us what your progam does / should do, rather than the Monks having to guess or reverse engineer from the code.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James