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 ...In reply to Re(2): Variable will not stay shared in subroutine
by dmmiller2k
in thread Variable will not stay shared in subroutine
by Stegalex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |