Hello all,
I have a directory structure with lots of text files in it. I want to have a script that basically takes in the top level directory as a parameter, and it will read through all the directories and subdirectories and retrieve all the filenames.
I thought that the best way to tackle...
Hello,
I'm trying to write some data to an XML file. What is the best module to write stuff onto an XML file?
I use XML::Simple to read stuff, and it works very well. I'm going to read stuff in using Simple, make some changes, and rewrite it to the same file. I tried XML::Writer but it was...
Hello,
I have a perl file that generates an html file to use on a webpage. I have to add some javascript to the html part of the perl file.
I already have some code to do that, but here is the issue: the javascript needs to grab a parameter from the perl information.
eg., lets say I need to...
Hello,
I would like to scan a certain directory for XML files. Then I want to take in every XML file, read it, and stores the contents as a string in an array. For example, if the directory has file1.xml, file2.xml, and file3.xml, they would all be scanned and read. Then, all the contents of...
Hello,
I have an XML file that I need to extract data from. The file has multiple lines, one of which contains the following tag:
<Owner> owner's name goes here </Owner>
I need to be able to extract the owner's name from the XML file. I have never programmed Perl before, but I have a pretty...
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.