in reply to Re: Re: XML::Simple and variable interpolation
in thread XML::Simple and variable interpolation

Are you by any chance working between a Windows box and a *nix machine? Perhaps you have some nasty \r characters in your original script or XML file. Those tend to cause weirdness especially with parsing and regexes. Try:

cat -vET <file>

The \r will show up as ^M at the end of lines before the $ characters(those command-line options cause cat to mark the end of each line with a $).

HTH

Replies are listed 'Best First'.
Re: XML::Simple and variable interpolation
by amonotod (Acolyte) on Oct 17, 2003 at 19:17 UTC
    Actually, I have the oh-so-distinct pleasure of being on Windows only right now... :-(

    And, although I have run into that before and it isn't the case here, thank you!

    amonotod

    BTW, I have a page of scripts that I wrote a while back here:
    http://www.geocities.com/amonotod