Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Problem to add xml element in a formatted structure

by gdanenb (Acolyte)
on Feb 09, 2012 at 12:44 UTC ( #952703=note: print w/replies, xml ) Need Help??

in reply to Re: Problem to add xml element in a formatted structure
in thread Problem to add xml element in a formatted structure

In my case human readable format is important
Additional module is problematic as well. since this is on running site

I don't understand why creating a new document with
$doc->toString(1) or $doc-toFile($f,1)
is working fine
Only when appending elements the problem appear... I used xmllint --format to format xml structure but it's not pure perl way...

Replies are listed 'Best First'.
Re^3: Problem to add xml element in a formatted structure
by MidLifeXis (Monsignor) on Feb 09, 2012 at 13:22 UTC

    So you are able to modify the code on a running site, but not add a module to implement your need on a running site? What if you were to modify your code by cutting and pasting the code from the module?

    Just trying to understand where that line is drawn, and possibly getting you to evaluate why.


Re^3: Problem to add xml element in a formatted structure
by tobyink (Abbot) on Feb 09, 2012 at 15:12 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952703]
[Corion]: 5.14 is also a good target, widely available and fairly stable. Also, over five years old, which doesn't push people into a needless upgrade cycle
[Discipulus]: yes I saw your efforts Corion but the pain is worth?
[Corion]: Discipulus: IMO it's not that much pain, but most of the systems I use have a Perl 5.14 or newer on them nowadays
[marto]: the question is more, is Padre still the way new users should be directed?
[Discipulus]: ah ah I have all 5.26 atm but I play alone..
[Corion]: Except this RHEL box, which comes with Perl 5.10.1 , but there I installed my own 5.20.3 for the real Perl programs we run ;)
[Corion]: marto: I used Padre for some time but then switched to Notepad++, since all the funky features I wanted to put into Padre couldn't be made to work, and/or I lost interest :)
[Discipulus]: indeed marto I dunno. I tested once and many years ago. But I'm not the programmer yardstick. I try to install Padre via cpan now just to add a line about it in the issue. Strawberryperl all life long!
[marto]: yeah, when I worked on Windows I did use Np++ all the time

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2018-06-25 08:51 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.