Subject: | Does not work under 5.20 |
The documentation states that it uses Data::Alias up to 5.18, and uses perl’s built-in refaliasing feature in 5.20 and up. But refaliasing was not introduced till 5.22.
This point is moot, though, since Keyword::Declare depends on PPR, which consumes too much memory under 5.20 (due to <https://rt.perl.org/Ticket/Display.html?id=122283>), so it would only work if someone happened to have an old version of Keyword::Declare installed.
This is a case where caveats in the documentation would probably be called for.
I am not actually using 5.20. I just happened to notice that the versions seemed off in the documentation. (After all, I wrote the refaliasing feature. I didn’t remember it being that old!)