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

1.Fixed the title 2.xml files print fine at the line mentioned but the grep fails to print anything. i have an xml file with /load.c# in it,am expecting the grep to print it. Is it not printing because we are acutally grepping for the name of the xml files and not the content in it.????

Replies are listed 'Best First'.
Re^3: Deferencing a hash
by Anonymous Monk on Oct 29, 2010 at 06:09 UTC
    Yes. Grep looks for the value in $_, which are filenames that end in .xml .