1. 1; # A simple number 1
2. exit; # The exit command
3.
goto BOTTOM; # goto a label at the end of the script . . . BOTTOM:
4. &footer; # Nothing, just the end of the script
All work, but which one is best for which situations?
In reply to How to end a Perl script by belize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |