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 John Tel 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: *

  • Users: ahammad
  • Content: Threads
  • Order by date
  1. ahammad

    Reading directories and subdirectories using recursion

    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...
  2. ahammad

    The best XML writer module?

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

    Generating javascript through perl

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

    Scanning directories for XML files and reading them

    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...
  5. ahammad

    Extracting a string from an XML file

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

Part and Inventory Search

Back
Top