in reply to Can anyone figure this out?
The subroutine could be rewritten as:
sub { $_ = pop; s/\d//g; } [download]