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...
BTW 133tcamel, none of the ForceArray, KeepRoot, ForceContent, KeyAttr are recognized.
Also, I do get a hash ref back. How would I use that to print the contents of the hash, or access contents of a specific tag for example?
Thanks
Essentially, these files will be read by the computer, but on occasion, a human will have to go in and change stuff manually.
I'll give it a shot with Simple and see what I get...
The other thing, there is an XML::Tidy module. I haven't found a lot of information on it though, but I guess I...
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...
Yes, I am using EOF.
So how would you convert var shell = new ActiveXObject("WScript.shell");
shell.run('clt kpp Build \\"<someUser>\\" name- <someName>.ext'); into a regular print statement? Where would the <javascript> tags go?
Like I said, I have no idea where to begin. I don't...
print "<javascript>do some javascripty on $var</jvascript>";
So is <javascript> defined in perl or do I have to do something else?
<head>
<script type="text/javascript">
function execCmd()
{
var shell = new ActiveXObject("WScript.shell");
shell.run('clt kpp Build \\"<someUser>\\"...
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.