share my fumblings in calling IkiWiki::Setup

master
bremner 2008-09-13 08:28:52 -04:00 committed by Joey Hess
parent 97b71834bb
commit 834489a56a
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Maybe this is obvious, but the config variable lives in the IkiWiki module, and one probably
wants to call defaultconfig for most applications.
<pre>
%IkiWiki::config=IkiWiki::defaultconfig();
IkiWiki::Setup::load($config_file);
print join(",",keys %IkiWiki::config);
</pre>
[[DavidBremner]]