Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: XML::Simple and variable interpolation

by pzbagel (Chaplain)
on Oct 17, 2003 at 18:11 UTC ( [id://300093]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://300093]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-25 01:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found