From: James Edward Gray II Date: 2006-08-15T02:03:01+09:00 Subject: Re: Trouble parsing against a hash On Aug 14, 2006, at 11:42 AM, Peter Bailey wrote: > Hello, Hello. > I get the following error message from RUBY when I try to run the > script > shown below. Sorry, the hash is huge. Just FYI, the language is Ruby, not RUBY. ;) I found two problems with your code... > :wh650b1p => 'lrr000', :wh650b2p => 'lrr000 } That very last Hash entry is missing a closing quote. > File.fnmatch('#{key}*', #{psfile}) } I'm not 100% sure what was intended here, but the # character starts a comment, causing the rest of the line, including a needed ) and }, to be ignored. Hope that helps. James Edward Gray II