While the our declartion is only supported in recent perls,
you can use use vars to perform a similar task. (Note that use vars and our is not indentical. Use vars is package-scoped (you do it and it works for any use of that package); our is lexically scoped like my.)