Oct 26, 2010, 7:13 AM
You seem to be using windows. File or directory names that contain whitespace need special treatment. Note: This is a windows, not a perl issue. It is possible to code your strings to satisfy the quote requirements of both perl and windows, but it is difficult. It is far easier to use the alias that windows provides for the troublesome name. To find the alias for 'Program Files', go to a command window and type dir c:\ /X. Find 'Program Files' and read the alias. It is probably 'progra~1'.
Re: [iphone] Grepping a file in all the files in an array and storing them in a hash
Otherwise, your code looked good to me, but it did not work until I used the glob function explicitly.
Refer to perldoc perldsc for lots of examples of data structures in perl.
(This post was edited by BillKSmith on Oct 26, 2010, 1:05 PM)