aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2014-11-26 07:24:52 -0400
committeradmin <admin@branchable.com>2014-11-26 07:24:52 -0400
commit2eb96a54dfdd1fb9878a9e874aba065275e99f95 (patch)
tree5b2d19fa65405cdd84c364ef07e0d23d69f706cc /doc
parenteb7baeb196703a455221751bda4b10c149b84b53 (diff)
downloadikiwiki-2eb96a54dfdd1fb9878a9e874aba065275e99f95.tar
ikiwiki-2eb96a54dfdd1fb9878a9e874aba065275e99f95.tar.gz
a plan
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/support_multiple_perl_libraries.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/todo/support_multiple_perl_libraries.mdwn b/doc/todo/support_multiple_perl_libraries.mdwn
index b71780f98..06fd4240d 100644
--- a/doc/todo/support_multiple_perl_libraries.mdwn
+++ b/doc/todo/support_multiple_perl_libraries.mdwn
@@ -18,5 +18,23 @@ I think the change is a one-liner, but I put this here for discussion before att
>
> [[Louis|spalax]]
+>> Modifying `getconfig` is not a valid solution, because IkiWiki.pm is also imported by
+>> [[ikiwiki-transition]], [[ikiwiki-calendar]], the regression tests, etc.
+>>
+>> The way I would personally do it is to have a new non-exported function `getlibdirs`
+>> or something, have it do something like this:
+>>
+>> if (! ref $config{libdir}) {
+>> if (length $config{libdir}) {
+>> $config{libdir} = [$config{libdir}];
+>> } else {
+>> $config{libdir} = [];
+>> }
+>> }
+>> return @{$config{libdir}};
+>>
+>> and replace all uses of $config{libdir} with it.
+>>
+>> --[[smcv]]
[[!taglink wishlist]]