in reply to How to resolve this error "Unrecognised option" if i use XML::Simple ?

It seems that some of your systems don't work with the object interface of XML::Simple for some obscure reasons - consider using the functional interface instead.

BTW you're only reading the first line from the XML file (unless you modified $/).

  • Comment on Re: How to resolve this error "Unrecognised option" if i use XML::Simple ?
  • Download Code

Replies are listed 'Best First'.
Re^2: How to resolve this error "Unrecognised option" if i use XML::Simple ?
by Anonymous Monk on May 13, 2008 at 08:12 UTC
    Yes moritz. I used 'undef $/' before open function. I missed to include in the above code snippet. Please guide me what would be the error may be ?

      You can help moritz in helping you by showing a bit more of your script. Other replies have told you that your post is not showing enough, and that there are alternatives.

      You should update your post, and make sure you mention as a note that you are updating, and show some more of the code you wrote. It is important to show how you create $xml_simple. Are you assigning something to an XML::Simple object?