Sorry about unclear question - I shouldn't write late at night :-)
So, basically I write XML log-file from application for debugging and evaluation purposes. I have made a class interface to do it. It's running with ActivePerl on Windows.
To logfile I can dump Perl data structures with...
Hi,
I would need to remove few lines from end of file and was wondering what would be the best way to do it. Basically the file may contain this at the end, for example:
...
</entry>
</events>
So I would need to remove </entry> and </events> before proceeding and also in the end of...
Hi,
I was wondering whether it would be possible to somehow include multiple documents in XML -file that also has includes from other xml files?
For example with entities and SYSTEM command, it's possible to include other documents, e.g. test.xml
<?xml version="1.0" standalone="yes" ?>...
Hi,
I would like to ask one question related to Tie::File. I'm using it on
ActivePerl in Windows -platform and try to write XML-based event-log from
my application.
With tied filehandle it's easy to add lines in the middle of the file and also
remove lines etc. And also the wellformedness of...
Hi!
I'm currently using stream (or event) based parsing of XML document with XML::Parser and it works quite well, but I'm also looking for alternatives.
If I would use XML::DOM as a tree walker (back/forward), I was wondering is there easy way to get all of the attributes of specific tag, e.g...
Hi!
I'm parsing xml -document with XML::Parser with a tree style processing, which automatically puts any sub branches nested.
E.g.
<preferences>
<font role="console">
<fname>Courier</name>
<size>9</size>
</font>
<font role="default">
<fname>Times New...
Hi!
I'm quite new to Perl and would like to have some tips:
I'm currently using ActivePerl 5.6.1 with Windows and would like to have recommendations (web-links) and tips about controlling infrared port with Perl.
Thank you!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.