in reply to Re^2: error message in the end of the array looping?
in thread error message in the end of the array looping?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: error message in the end of the array looping?
by dsheroh (Monsignor) on May 30, 2006 at 20:07 UTC |