http://qs321.pair.com?node_id=649015


in reply to Grouping files with the same name...

Not a perl answer, but it's simpler with a shell script...
#!/bin/bash for f in customer*.xml do /usr/bin/zip ${f%xml}zip ${f} ${f%xml}pdf ${f%xml}xls; done