J
J Krugman
I want to package some Perl software for distribution using MakeMaker,
but there's a problem, having to do with the nature of the software
and its expected audience. First, the heart of the package is a
CGI script that uses modules in the package. Second, a large
fraction (maybe the majority) of this software's intended audience
will not have administrator powers. This means that the modules
in the package will necessarily be installed in a special location
unknown to the server serving the CGI script.
What's the best way to deal with this situation? I suppose that
I could have some kluge in Makefile.PL that figured out the intended
installation directory and programmatically inserted the appropriate
'use lib ...' statements into the Perl source, but I find this
solution profoundly unsavory, but it's the only thing I can come
up with.
Any ideas?
Thanks!
Jill
but there's a problem, having to do with the nature of the software
and its expected audience. First, the heart of the package is a
CGI script that uses modules in the package. Second, a large
fraction (maybe the majority) of this software's intended audience
will not have administrator powers. This means that the modules
in the package will necessarily be installed in a special location
unknown to the server serving the CGI script.
What's the best way to deal with this situation? I suppose that
I could have some kluge in Makefile.PL that figured out the intended
installation directory and programmatically inserted the appropriate
'use lib ...' statements into the Perl source, but I find this
solution profoundly unsavory, but it's the only thing I can come
up with.
Any ideas?
Thanks!
Jill