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

Re: [MacPerl] Running two (or more?) copies of MacPerl



At 03:28 +1100 on 2/11/98, Rich Morin wrote:
>What would be involved in creating a second copy of MacPerl, functionally
>identical, which would respond to a different set of documents?  What I
>have in mind here is, for instance, letting one copy of MacPerl handle
>CGI scripts while another is used for development.

AFAIK, "all" you would need to do is:
 - Make a copy of MacPerl (let's call it "MacPerl Copy" for the meantime)
 - Open ResEdit
 - File -> Get File/Folder Info...
 - Select "MacPerl Copy"
 - Change the "Creator" field to something else (eg, from "McPL" to "mcpl")
   Note that the value in this box must be different to the value in
   any other application's "creator" field. There is/was a register at
   Apple for all the Creator types. However, for your purposes, you just
   need to make the creator field unique to your machine
 - For your "production" scripts, either bulk change the creator (using
   a utility such as FileTyper, for example) or open them one by one in
   ResEdit and change them manually.

Your modified MacPerl will lose its icon - that can be fixed by fiddling
with the resources. The modified MacPerl will still save documents with the
creator type "McPL", making them MacPerl documents.

Regards,
Alex Satrapa

Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company that can't stand 1 bit of competition.
                   http://ucnet.canberra.edu.au/~packrat/windows_sig.html



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch