On 7/2/07, Jos I. Boumans <kane@dwim.org> wrote: > For your consideration, I've attached a patch to add the 'add- > package.pl' utility to the > Porting/ directory to make adding packages easier. You point it at a > extracted CPAN > tarball and it will do the right thing, add stuff where needed and > generate a patch. Cool. > There's 3 caveats to mention: > > * It doesn't deal with XS modules yet, that live under ext/ > * It uses a lot of unix command line tools, so very unix centric At first blush it looks like the bulk of that could be converted to File::Path and File::Copy without too much struggle. I think MJD has pure-Perl diff program if you wanted to go whole-hog in the portability direction. > * It doesn't patch VMS hints/makefiles properly (as i have no clue > about them), > just warns about the need to do so. I'm sure Craig can help > there though. Since this only applies when you are adding a new utility under utils/, and since that doesn't happen very often, and since the relevant bits to be updated aren't that amenable to autocoding at the moment, I think I will leave the warning as is for now. But thanks for thinking of me.Thread Previous | Thread Next