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

Re: [MacPerl] AppleScript front end to MacPerl



To all who've asked and those who didn't...

Quentin Smith has graciously agreed to put my AppleScript front
end to MacPerl (cli4mp) on his site. You can download a zipped
version from:

    http://members.tripod.com/ComClub/cli4mp.zip

Thanks Quentin!


One caveat. Over the weekend, I seemed to have found a bug.
Or maybe it's a limitation...

I haven't been able to investigate very thoroughly, but the
problem seems to be with larger MacPerl scripts. When I try
to run cli4mp with a larger perl script, AppleScript quits
unexpectedly with error type 2. Not before, however it sends
a mutated version of the script to MacPerl (well I think it's
mutated). In this particular script, there are some messages
that print out from a subroutine at the end of the file and
these print OK, but the script never terminates... it just
keeps on chugging, doing God knows what. I haven't tried to
debug it yet.

I haven't figured out what the boundary conditions are, but I
ran a number of perl scripts in the half a K range with no
problem and one that was about 4K which caused the problem.
When I run this same script from Alpha (with it's command line
arg interface) it works just fine, so I'm reasonably sure
there's not a problem with the script, per se.

Still, it seems to work for smaller test scripts, which is
what I designed it for in the first place... (he said,
rationalizing in a feeble attempt to preserve his ego...)


jay

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org