Updated URL patterns for file extensions to handle query strings. Added Perl .pl URL pattern.

#350