sub ten () { 10 } # or your function will take arguments