good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: XML::Simple and variable interpolationby pzbagel (Chaplain) |
on Oct 17, 2003 at 18:11 UTC ( [id://300093]=note: print w/replies, xml ) | Need Help?? |
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:
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
In Section
Seekers of Perl Wisdom
|
|