in reply to Re: Variable will not stay shared in subroutine
in thread Variable will not stay shared in subroutine
Or, in even more other words, your variable $self will be frozen (in a closure) by the subroutine desc_by_date_asc_by_name() when sort_results() is called for the first time (in case you were wondering).
Update: added parenthetical "closure" clarification.
dmm
You can give a man a fish and feed him for a day ...
|
|---|