----- Original Message ----- From: "sharmishtha upadhyay" <[EMAIL PROTECTED]>
.
.
Is there a way, that I can include these two modules
with my module, so that when the customer installs my
module, these two modules can be installed for them
too?

There's nothing to stop you from grabbing the Inline-0.44.tar.gz source from CPAN, the Inline-Java-0.52.tar.gz source from CPAN and bundling those 2 tarballs with the source tarball of your own module.

Then you just tell people to unpack the bundle, 'cd' to the Inline-0.44 directory and run 'perl Makefile.PL', 'make test', 'make install' ... then 'cd' to the Inline-Java-0.52 directory and run 'perl Makefile.PL J2SDK=whatever', 'make test', 'make install' ... then 'cd' to your own module's directory and run 'perl Makefile.PL', 'make test', 'make install'.

But, of course, you can make the whole procedure a whole lot simpler than that for your clients.

I believe it's possible for you to provide them with a bundle where they can install Inline-0.44, Inline-Java-0.52, and your own module by running 'perl Makefile.PL', make test' and 'make install' *once* only. Only problem is, I've never personally done anything like this, don't know how to do it, and don't know where the relevant documentation is :-)

You could search cpan for "bundle" distributions and take a look at their source. (I just did that but it still wasn't readily apparent to me how it works :-)

Or maybe someone else can provide useful advice.

The question of how to create a bundle does not really belong on this list (despite the fact that it's Inline modules you're wanting to bundle.)

Cheers,
Rob

Reply via email to