in reply to Grep on a list of files in directory

It looks like there is a bug in the first line. I think the backslash characters need to be escaped. my $start_dir = "\\\\server1\\tools";

Replies are listed 'Best First'.
Re^2: Deferencing a hash
by aquarium (Curate) on Oct 29, 2010 at 04:11 UTC
    even better would be forward slashes, which don't need to be escaped, and perl takes care of the translation on unix/windows/other.
    the hardest line to type correctly is: stty erase ^H