Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Specifying filename

by jeepj (Scribe)
on Jun 12, 2008 at 12:12 UTC ( [id://691642]=note: print w/replies, xml ) Need Help??


in reply to Specifying filename

In addition, you could also use something like XML::Simple to build your XML file, it would be easier.

Replies are listed 'Best First'.
Re^2: Specifying filename
by psini (Deacon) on Jun 12, 2008 at 13:17 UTC

    ... and it takes care of escaping reserved chars.

    But, pleeease, try XML::Writer instead of XML::Simple.

    XML::Simple is so "simple" that in the last month I answered to no less than 4 posts about it, and the issue was always about the incorrect use of the not-so-simple-and-not-at-all-obvious options of that module.

    Really, I'ld have nothing against XML::Simple if only it had a different name :) Something in the line of XML::Config wold be nice, for it is (explicitly) optimized for managing XML config files, not generic XML.

    Careful with that hash Eugene.

      Alternatives to XML::Writer are XML::Generator and my own XML::API module.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-19 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found