This {gross,amazing} hack makes all wrapped uses of ikiwiki forgo any option parsing at all. Options come in preparses via an env var from the wrapper. As a bonus, Wrapper.pm no longer needs to be updated when command line options are added to the program. Load time is sped up by around 10%. ikiwikiwrap --params is no longer supported by this change. You will need to rebuild your wrappers to take advantage of it. |
||
---|---|---|
.. | ||
RCS | ||
Setup | ||
CGI.pm | ||
Render.pm | ||
Setup.pm | ||
Wrapper.pm |