use strict; use warnings; sub myfunc { return "Something" } myfunc; print myfunc;