mail-wget.pl: Add an anonymous function