I'm sure there are other ways but the simulator this code was already there in Firewall.pm and I there are packages with more annoying build issues I wanted to move on to ;-)
Personally I don't really see a problem with conditional imports. (They're particularly useful in dealing with package bootstrapping issues caused by the doc-generator and verify-api calls when starting to build for stretch ;-) ) On Mon, Feb 06, 2017 at 06:50:29PM +0100, Stefan Priebe - Profihost AG wrote: > To avoid cycling deps an alternative might be forward decleration. > > http://www.perlmonks.org/?node_id=1057957 > > Stefan > > Excuse my typo sent from my mobile phone. > > Am 06.02.2017 um 18:38 schrieb Dietmar Maurer <diet...@proxmox.com>: > > >> An alternative might be > >> http://perldoc.perl.org/autouse.html > > > > Thank for that interesting link. But It would prefer a way to avoid > > that cyclic package dependency at all. On the other way, the > > current solution is not that bad ;-) _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel