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

Re: [MacPerl] CPAN for MacPerl, anyone?



On Mon, Jan 11, 1999 at 11:51:26AM -0500, Chris Nandor wrote:
} At 11.45 -0500 1999.01.11, Paul J. Schinder wrote:
} >On Mon, Jan 11, 1999 at 11:22:58AM -0500, Chris Nandor wrote:
} >}
} >} 1.  You should have environment variables set for:
} >}     EDITOR (four-char creator ID, like R*ch or ttxt; if not present,
} >}         will try R*ch, ALFA, and ttxt in succession)
} >}     HOME (I set mine as my prefs folder; this is where the cpan files
} >}         wll be kept)
} >
} >Ouch.  How about changing this to CPAN or CPANHOME?  (Or is it this
} >way because of portability?)
} 
} CPAN.pm uses it, my changes do not.  You might be able to avoid problems by
} specifying your own directories in CPAN::Config, and then $ENV{HOME} might
} never come into use.  Feel free to try it out.  :)
} 
} You might want to lobby Andreas to change uses of $ENV{HOME} to
} $ENV{CPANHOME} and then do a simple C<$ENV{CPANHOME} ||= $ENV{HOME}> at
} initialization.
} 
} A greater problem might be that '.cpan' is hardwired in several places.
} I've been told that names starting with . on Mac OS are bad, but I forget
} why.  I can say that I don't recall ever running into any problems with .
} files.

This is ancient lore, and I've seen authoritative sources say it's no
longer a problem, although I'd have to dig for references.  From
memory, device drivers used to be files that began with '.' and
therefore the System could get confused if you had your own files
beginning with '.'.  Nowadays there are additional properties that
drivers have that prevent the system from seeing any file with '.' at
the beginning as a driver, although software like Disk Doctor are
still paranoid about them.  I've had lots of files beginning with '.'
under systems 7 and 8, and have had no problems with them.

} 
} 
} >} 5.  You need plenty of RAM.  I have 20MB for mine, less is probably
} >}     OK, I dunno.
} >
} >The new Archive::Tar, 0.20, might help there.
} 
} Ah, it does not-in-memory unpacking, or something?

Right, it no longer keeps the tar archive entirely in memory.  Of
course, I haven't tested it under MacOS yet (tomorrow night,
probably), and I had trouble with it under SunOS, as you probably saw.

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

-- 
Paul J. Schinder 
schinder@pobox.com

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