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

Re: [MacPerl] Installing modules.



At 16.41 -0400 1998.09.17, Dave Johnson wrote:
>Ok, I found the problem, my Internet config had ".pm" mapped to Grafconverter.
>But why is the line endings fix necessary? This is a module developed on a
>Macintosh and can only be run on a Macintosh. Where do the line endings get
>mucked up?
>
>(and what is the purpose of the included "make.pl" file?

I put my modules on CPAN.  The only way that they can be integrated into
CPAN for the purposes of indexing, searching, etc. (in things like
cpan.perl.com) is if they are in the native newline format, which is Unix.
It is the job of the Mac software to translate it properly.

My hope, also, is that by forcing people to do it on software they might be
more likely to use (my Mac modules, for instance), they will then know what
to do when getting software from CPAN.

So for files on CPAN, Unix newlines are the Right Thing, regardless of the
target platform, if they are to work with CPAN at all.  And it certainly
doesn't hurt one thing: if you learn how to do it the first time and incur
some pain, that saves you pain when you download anything else from CPAN.
I have thought a bit about this, and am confident in the decision I've made.

As to the Makefile.PL, there is no inherent reason right now why it can't
be run on a system that has a shell, especially for instance a Mac with MPW
Shell, or maybe under Mac OS X.  It doesn't hurt anything, it might help
something, so I put it in.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

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