in reply to return !!
If you are only interested in the truth of an expression, you can save some cycles by not copying the entire data. In this case, I would have preferred return scalar @array because of the way perl handles truth.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: return !!
by ikegami (Patriarch) on Mar 04, 2009 at 20:33 UTC | |
by Limbic~Region (Chancellor) on Mar 04, 2009 at 20:43 UTC |