If you try to return when not in a sub you get:
use strict; use warnings; return 10;
Prints:
Can't return outside a subroutine at noname2.pl line 4.
In reply to Re^3: error message in the end of the array looping?
by GrandFather
in thread error message in the end of the array looping?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |