Now that conventional ways of getting subroutine arguments are enumerated, there are also experimental subroutine signatures in perl > 5.20 and perl5i signatures, but they are not widely used. Feel free to experiment with them, but be careful if you plan to include them in a serious project.