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

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



In article <mac-perl.v0311072db2623af0a4dd@Untitled.SOMEWHERE>, Rich Morin
<rdm@cfcl.com> wrote:

>Mac OS, in some mysterious (to me, at least :-) manner, calls up MacPerl
>whenever a MacPerl droplet or CGI script is invoked.  This seems to be
>tied to the Type and/or Creator of the document in question.

That's actually the Finder's main job, and why it is called the
"Finder"--when you "open" a file, it finds the applications that is
supposed to handle it, based on its creator code (in departure from Unix
and DOS, where the user has to tell the OS which app to use by naming the
file with the desired extension).

...

Alex Satrapa <grail@goldweb.com.au> wrote:

>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.

Actually, it shouldn't lose its icon, although you may have to rebuild the
desktop (or maybe just clear the "inited" bit using ResEdit, in the same
"get info" dialog mentioned in the previous post). This may not be
necessary with >= OS 8, because it is more attentive to noticing these
sorts of changes.

There is a resource which you can change, documented in MPPE, which
determines the creator type of files saved from MacPerl, so modifying this
in your copy to match your "new" creator type should cause files created
by this version to be associated with it. I don't know, however, if this
only applies to the text files produced, or the droplets and cgi as well.
-- 
__________________________________________________________________________

Jeff Clites                Online Editor           http://www.MacTech.com/
online@MacTech.com         MacTech Magazine
__________________________________________________________________________

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