On 6/26/07, RICHARD FERNANDEZ <[EMAIL PROTECTED]> wrote:

the box I'm on does not have
a compiler installed. "They" want me to install various modules (DBI.pm
and others) without installing a compiler...

Can this be done? Can I compile a module on one box and somehow
install the code on another?

Yes, it can, in principle, be done.

Might this be as simple as copying over the contents of the directories
in @INC?

Hardly ever. Alas. Although it's most likely to work with pure Perl
modules, and least likely to work with anything compiled.

If you really need to do this, the only practical way I know of is to
set up an identical box (the "staging" machine) that you can really
install and test on. When you have something working on the staging
machine, you can copy that to the production system that lacks a
compiler. If it doesn't work when it gets there, either you didn't get
it all there properly, or the two boxes aren't really all that
identical, so you get to try again until you get it right. Or until
you get a compiler on the box, as nature intended.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to