This should probably be defined in DuckPAN.pm so it can be used elsewhere, I noticed your other PR's also use it so this was we won't be redefining it in several places.