Skip Menu |

This queue is for tickets about the Dist-Zilla-App-Command-podpreview CPAN distribution.

Report information
The Basics
Id: 72143
Status: new
Priority: 0/
Queue: Dist-Zilla-App-Command-podpreview

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.002
Fixed in: (no value)



Subject: Load dependencies at runtime instead of compile time
Currently Dist::Zilla has a flaw: all App::Command classes are loaded during startup even if not used. So App::Command::podpreview is loaded (and its dependencies too) even when just "dzil authordeps" is run. To avoid this (and so improve DZ startup), it would be better to load dependencies (App::PodPreview and its dependencies, File::Temp, Carp) only on usage in execute(). -- Olivier Mengué - http://perlresume.org/DOLMEN