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)
|
---|
In Section
Seekers of Perl Wisdom