In my opinion, time spent learning Perl or an outmoded framework still helped me learn new things and stretch myself. A lot of that knowledge is transferable to other languages or frameworks. After learning QuickBasic and REXX it was pretty easy to pickup Ruby and Python. ;-)