It sounds like the appropriate time for some enterprising young developer to grab a copy of PPI and write an mp2_rename tool, to do a first pass of what you describe below automatically.

Anyone?

Adam K

Geoffrey Young wrote:
it sucks, completely. i can't get my stuff to work under rc5


I feel for you, but I really don't understand this at all.

the changes required to move your codebase from rc4 to rc5 should be really,
really minimal:

  - Apache2.pm doesn't exist any more, so remove it
  - every Apache:: module now goes to Apache2::
  - every constant goes from Apache:: to Apache2::Const
  - Apache->request goes to Apache2::RequestUtil->request
  - Apache->server goes to Apache2::ServerUtil->server

that should really be about it, and it's all documented at

  http://perl.apache.org/docs/2.0/rename.html

I created a script to help me port my CPAN modules over to RC5, which took
less than 10 minutes each (including running the tests on 2.0 and 2.1).

  http://people.apache.org/~geoff/fixme

you'll need to adjust it for the mp2 modules you use, but it should get you
really close.  (normal caveats apply - I'm not responsible if it nukes your
codebase, make sure you look at the code to see what it's doing, etc :)

HTH

--Geoff

Reply via email to