|Think about Loose Coupling|
Re: Manual installation of GD or ImageMagick in local folderby jettero (Monsignor)
|on Jul 01, 2008 at 10:52 UTC||Need Help??|
It is definitely possible.
This is from ExtUtils::MakeMaker:
Then you just use lib "/path/to/your/home/dir" in your CGI and you're done.
You can automate this strategy by setting your cpan shell variable 'makepl_arg' to include the INSTALL_BASE make argument.
(This is not the first time the question has been asked. I know I've asked it myself before, but I think my answer is slightly different than other answers I've seen.)
UPDATE: PREFIX may even be better or more appropriate, not really sure. But my strategy above remains the same.