From: Oliver Heins Date: 2006-09-12T01:05:36+09:00 Subject: Re: heredoc with variable interpolation breaks script Logan Capaldo writes: > You are calling the method "test" (which is a perlism, FYI) inside your > HEREDOC. I'm pretty sure this was just a typo, and you meant to say > #{var1}, not #{test}. Indeed, it was a typo. The real error was that I did a chomp on an undefined array-entry. I create the array key on the fly and was just presuming that the source I was parsing contained the specific entry. As the source changed, my script failed. I now initialize the array keys with an empty string and everything works fine. Thanks for the hint. olli -- GnuPG-Key: http://www.sopos.org/pgp/olli.asc GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827 NP: Nothing