if ($var ~= m/\*/) #### unless($path ~= m/\/$/) #### $output ~= s/\.gz$//;