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

Replies are listed 'Best First'.
Re^2: Grouping files with the same name...
by A200560 (Novice) on Nov 05, 2007 at 13:58 UTC
    thanks to everybody, very useful tips.
      ...but my platform is windows, how the grep?
        Start with the example ikegami gave.

        (You'll need to opendir $dh first) fixed.

        grep is not a unix command but a built-in Perl function.

        -David