Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Windrider

    Removing specific lines from end of file

    ...one clarification, the file may eventually grow to several megabytes, even up to 10 - 20 MB.
  2. Windrider

    Removing specific lines from end of file

    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...
  3. Windrider

    Removing specific lines from end of file

    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...
  4. Windrider

    Including other XML documents in XML

    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" ?>...
  5. Windrider

    Tie::File and memory consumption on Windows-platform, any ideas?

    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...
  6. Windrider

    Extracting attribute data from XML document's tags with XML::DOM

    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...
  7. Windrider

    Accessing and using pseudo hash produced with xml::parser

    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=&quot;console&quot;> <fname>Courier</name> <size>9</size> </font> <font role=&quot;default&quot;> <fname>Times New...
  8. Windrider

    Controlling Infrared Port with Perl

    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!

Part and Inventory Search

Back
Top