On Wed, Dec 04, 2002 at 11:12:13AM +0000, Nick Ing-Simmons wrote: > Michael G Schwern <[EMAIL PROTECTED]> writes: > > > >added stuff outside of constants() to handle it (see below) and largely > >eliminated constants(). > > Just a note to say please do eliminate constants() - I have a number > of Makefile.PLs which have a MY::constants which edits the values > (e.g. to add files to C_FILES move things from archlib to lib etc. > remove .../*~ files from PM_TO_BLIB etc.)
s/do/don't/? To clarify, MM_Unix->constants() is still there and still outputs the same thing as before. So your overrides should be ok. All initialization of macro values outputed by constants have been moved to init_* methods. This means that with the exception of VMS, all the non-Unix duplications of constants() are gone. Most of what they were doing was altering values. They now simply override the appropriate init_* method. MM_VMS->constants simply maps certain values into ones safe for putting into a macro. Any extra constants introduced in the non-Unix constants() have been moved to a platform specific constants section. So no more constants() code duplication. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One There's a Balrog in the woodpile.
