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

Four things stand out:

  1. The path separator will need to change: @path=split(/:/,$ARGV[$m]
  2. Why does the definition of "text" exclude 'I'?
    # does it contain text? if ($i =~ /A-HJ-Za-z/)
  3. You'll probably need to set up a short cut using wperl.exe if you want to:
    print STDERR "Just drag your datafiles in turn onto the program icon,\ +n";
  4. You might want to wrap the main body in a loop over @ARGV, to cater for multi-file drag&drop.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"