mirror of
https://github.com/i3/i3.git
synced 2026-02-04 07:45:39 +00:00
Calling `feature->import(":5.10")` without loading feature.pm first
produces a warning in Nix derivation sandbox environments:
Attempt to call undefined import method with arguments (":5.10")
via package "feature" (Perhaps you forgot to load the package?)
Unlike the `strict` and `warnings` packages, which are loaded
by the use statements at the top of i3test.pm, the `use v5.10` line
does not load the `feature` package, but is handled directly by perl(1).
This commit adds explicit require statements for correctness.