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

Re: [MacPerl] BBEdit & MacPerl



Sean,

I don't use BBEdit, I use Alpha, but it seems like you're
missing some information on your process. Maybe not, maybe
BBEdit somehow automates something for you, but consider the
following.

I did this (trying to duplicate what I thought you said):

1. Save a script in Alpha and then switch to MacPerl.
2. Open the script in MacPerl, make changes there and save them.
3. Close the MacPerl document.
4. Close the Alpha document.
5. Open the MacPerl document.

My changes are still intact.

Alternatively, in step 2 I could have chosen to execute
the "MacPerl -> Tell MacPerl -> Open This File" menu
command from Alpha. Either way, it's not clear how you
specifically told MacPerl to open the BBEdit file... Again
maybe this is some magic hook available in BBEdit...


I can reproduce your phenomenon (sort of) with Alpha, BTW,
if I do things with the following process:

1. Save a script in MacPerl.
2. Edit the script in Alpha by choosing the "Edit xxx" menu
   command in MacPerl.
3. Make a change in Alpha, save, and close the document.
4. Return to MacPerl (the document still contains the
   original contents) and close the document.
5. Open the document in MacPerl.

It will contain my original document contents. This is
because Alpha was working with an invisible copy of the
MacPerl document in the "Temporary Items" folder. I can
see the side effects of this by doing a Finder "Find..."
on my original filename and I'll find a copy in the
"Temporary Items" folder with a mutated name (normally
with something like "[Perl]" tacked on the end).


Rule of thumb: Edit with and external editor **OR** with
the built-in MacPerl editor... NOT BOTH!

jay

ps
Hope your brain is feeling better...

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