urls.pl Remove unneeded foreach and scalars instead of named captures