[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] 3 Questions and a Possible



> I found the script I mentioned.
> 
> The author is Scott Hanson <shanson@mail.hh.provi.de> .
> The title of the posting was:
> Yet another Mac2ISO character converter
> 
> The statement is not a "tr" but an "s":
> s/[\x80-\xff]/$trans[ord($&)-(128)]/ge ;
> 
...where $trans is the array of things you want to substitute for the upper 
characters, be they characters or strings or nulls. 
-- 
Scott Hanson     <shanson@mail.hh.provi.de>   Asendorf, Germany
work: Inter-Research Science Publisher  <scott@int-res.com>
http://www.int-res.com