in reply to Re^2: 'return:' instead of 'return'
in thread 'return:' instead of 'return'
but it doesn't produce the above warningThat is because in your code, it's the last statement in the sub. So by default, it's the value that is returned, even without a real return.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: 'return:' instead of 'return'
by Boldra (Curate) on Jun 12, 2009 at 10:48 UTC | |
by rovf (Priest) on Jun 12, 2009 at 13:15 UTC | |
by bart (Canon) on Jun 12, 2009 at 11:50 UTC |