|
Posted by Charles DeRykus on June 8, 2006, 11:53 pm
Please log in for more thread options
Fotios Lindiakos wrote:
> I just wanted to preface this with this is my first experience making
> Perl modules, so if this is completely trivial, please laugh at me,
> call me a noob, and point me in the right direction. Thanks.
> --
> I have a structure that looks something like this: (these aren't the
> real names, but I can't really use them)
> HC
> |-- A
> |-- I
> |-- D
> |-- IE
> |-- MO
> |-- M
> |--FW
> |--VM
>
> And what I would like to do is allow users to pick what module they
> want to install, and install the modules under it (or if possible, like
> in the case of HC::A::D, just install IE by default). I have looked at
> MakeMaker and Build, but they are quite confusing and I can't find a
> good tutorial (if you have one, do share).
> I also have to test for things like making sure Perl has ithreads and
> checking what modules are installed and make sure they meet the minimum
> versions (preferable automatically).
> One final thing, is I need to move some files to say /etc, and didn't
> find anything in the Makefile for that.
>
> Any help or pointing towards good tutorials would be greatly
> apprectiated.
>
Although I don't have any experience with Tk, something like Tk::Tree
might be worth investigating for the selection GUI. CPAN.pm (or the
newer CPANPLUS) has a scriptable interface to download and install
modules as well as any needed dependencies.
hth,
--
Charles DeRykus
|