http://qs321.pair.com?node_id=11111924


in reply to Hash (not) returned by subroutine

perldoc return says:
(In the absence of an explicit return, a subroutine, eval, or do FILE automatically returns the value of the last expression evaluated.)
… which here is the value of the assignment statement (i.e. the value assigned last)