# before declared - use () print_me(); # sub sub print_me { print "hello there!\n"; } # after declaration, you can drop the () # - but see prototyping as well... print_me;
cLive ;-)
In reply to Re: subroutine call
by cLive ;-)
in thread differences between ways of calling subroutines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |