Sunday, May 24, 2009

manage Task::Padre::Plugins with ORDB::CPANTS

To update a Task:: module is not so hard but trivial. you need find out the new version of existing modules, and those haven't added yet.
well, do it manually is not so Perl-ish. we have Perl, we should do it automatically by running a script.

it's pretty good we have ORDB::CPANTS from Alias.
1, we get all plugins by ORDB::CPANTS through used_by
2, split them into requires and feature.
3, get the META info through YAML::LoadURI
4, generate the main part of Makefile.PL and

you can find the code here:

I know I can generate Makefile.PL and directly, but it's good enough for now.




Post a Comment

Links to this post:

Create a Link

<< Home