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

Re: [MacPerl] Howto import modules into runtimes?



At 12.53 97/4/21, Axel Rose wrote:
>>>BEGIN { @INC="hard disk:macperl folder:lib:" };
>>>use MyModule;
>>
>>If the module is in the right place in the Perl filetree, then all that is
>>ncessary is a simple
>>
>>        use MyModule;
>
>I can't agree.
>Just incorporating "use" is o.k. for the development Mac.
>It doesn't work when saving the Perl script as runtime and
>double-clicking the runtime, at least in my configuration.
>
>And: I can't afford to install MacPerl on every Mac I want
>to distribute software to.

I see.  I wasn't thinking about not having MacPerl installed.  That is your
real problem.  What I said is still correct: "If the module is in the right
place in the Perl filetree ... ."  But theproblem is you don't have Perl,
and therefore no filetree.

Personally, I suggest doing just what you said you don't want to do:
install MacPerl on all those Macs.  It is very easy to install.  I had a
non-programmer friend install it so I could write a script for him, and he
had absolutely no problems.  However, you might have your reasons for not
wanting to do that.

I can't think of an easy way to make it work.  Sorry,

#================================================================
Chris Nandor                                      pudge@pobox.com
PGP Key 1024/B76E72AD                           http://pudge.net/
Keyfingerprint = 08 24 09 0B CE 73 CA 10  1F F7 7F 13 81 80 B6 B6



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