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

Re: [MacPerl-Forum] Droplet Creation Woes....



On Fri, 4 Aug 2000 08:27:38 +0100, Greenblatt & Seay wrote:

>I keep my program code in a text file, and rather
>than turn it into a droplet, I create a very short droplet that points to
>this text file. This way I never have to recreate the droplet, just the
>text file.

>do "path:code_text_file.pl";

You'll have to recreate the droplet, if you've specified the full path,
if ever you move the droplet and script to another machine, or even to
another location on your hard disk(s).

If you only specify the filename, no path, and always keep droplet and
script side by side, then it always work. You can even keep the script
in a subfolder next to the script, and include it in the path:

	do ":scripts:code_text_file.pl";


Or, add a "perl scripts" folder in the system folder, and add this path
to your @INC (preferences -> libraries). (again, no path specified).

p.s. Why is this on MacPerl-Forum? If anything belongs on the
motherlist, this subject certainly does. IMO. Far more than, say, the
"verify email addresses" thread.

-- 
	Bart.

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