in reply to Re: Grep on a list of files in directory
in thread Grep on a list of files in directory

If i use as suggested i am getting the following syntax error.Can you pls help?

syntax error at xml.pl line 32, near "*." Bad name after xml' at xml.pl line 32.

Replies are listed 'Best First'.
Re^3: Grep on a list of files in directory
by choroba (Cardinal) on Nov 01, 2010 at 10:59 UTC
    Escape the backslash:
    @xml_files = glob($start_dir . '\\' . '*.xml');