>>
last cannot be used to exit a block which returns a value such as eval {}, sub {} or do {}, and should not be used to exit a grep() or map() operation.
--------------------------------------------------------------------------------
from perldoc.com
<<
I guess perldoc have been stealing my fantastic explanations
last cannot be used to exit a block which returns a value such as eval {}, sub {} or do {}, and should not be used to exit a grep() or map() operation.
--------------------------------------------------------------------------------
from perldoc.com
<<
I guess perldoc have been stealing my fantastic explanations