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 wOOdy-Soft 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: andyros
  • Content: Threads
  • Order by date
  1. andyros

    Simple query? Or so i thought!

    I was looking through some example query questions are found these two: Consider the following database structure: pizza(pid, pname, size) store(sname, phone, quality) soldby(pid, sname, price) 1. Find the name of all the stores that sell both veggie and cheese pizza. 2. Find the names of all...
  2. andyros

    String Minipulation - Find and Chop!

    Hi all Got a problem i thought would be fairly easy to figure out :\! I've got a large string, say of 2000 characters. And a keyword phrase. What I'd like to do is find the first instance of this keyword phrase in the string, then chop the string to take 50 characters from behind the first...
  3. andyros

    XML::Parser::Style::Subs

    Hi all just a quick question. I've been taking a look at the XML::Parser module, its been a while since i did! The subs style option seems intresting, when the parser hits an xml tag for example <bookname> it calls a sub routine you define as bookname. If i were to implement this, is there...
  4. andyros

    Multiple users accessing a script at the same time??

    Hey guys I've built a basic shop system as a small project, in object orientated perl ;)! I was just wondering what happens when multiple users call the same functions at the same time? I have cgi scripts at the front end, and they use generic back end functions, i could have 5,10,15 users...
  5. andyros

    Assigning Element Value to a Variable

    hey guys Is there anyway i can assign the value of an element to a varible in an incremental manner? I have this xml for example <example> <definition>Business</definition> <definition>Sport</definition> </example> now these values are dynamic, so there may be more than one...
  6. andyros

    Sorting by element value - XSL

    Hi guys I posted last week about splitting data up into sevral pages and got a great response that i should create divs for each page and show / hide them via hyperlinks. Well i've got a new problem :) I've applied this technique to sorting by creating more divs which display content in a...
  7. andyros

    separating XML data into seprate pages - XSLT

    Hey guys sorry for the long title :) I've got an XML data structure as follows: <entry> <name>New Entry</name> <dataSet1> <showingResults>1-5</showingResults <result> <docTitle>April 2005</docTitle>...
  8. andyros

    Module Directory Structures

    Hey all, Right I've searched far and wide for this but can only find information on how to make a perl module, not how to organise them. I've made a few perl modules, for example Joe.pm Andy.pm Sam.pm and i want to place them into a sub folder called PEOPLE. So i assume i must rename the...
  9. andyros

    Weird CGI Error

    Hey I'm currently testing out the template toolkit package for use with displaying results from the swish-e search engine. The template file is an example one provided at http://swish-e.org The problem is that it displays nothing in the web browser but the script produces the code when i run...
  10. andyros

    Getting the name of an array

    Hi all This is probably a stupid question with an easy answer... Is there any way to get the name of an array and use in a string? say i had the array: @dogs = ("rover","larry","Bruce"); would it be possible to take the name of the array (dogs) and use it in another variable? I tried...
  11. andyros

    Command Line &quot;command&quot; from Perl

    Hey Just wondering weather it is possible to run another command line argument from within a perl script? Say i wanted to run another perl script for example from within another... c:\blah>perl somescript.pl can i execute this from within another perl script? cheers andy
  12. andyros

    Writing to a text file

    Hey guys Just a quick question, I'm writing, to a html file, a link whose href and text comes from another file. The problem im having is when i add together the final string ready to write out: <code>$replaceString = "<a href=$url[$j]>$description[$j]<\/a>";</code> the problem is that once...
  13. andyros

    A better way than this to Read and Replace lines in a file

    Hey guys Im wanting to read in from a directory of files and take each file in turn checking for a specific word. Once have have found this word i want to replace it. I've got a solution but its not really that efficent. It reads all the content of the file and stores it in an array, logs...

Part and Inventory Search

Back
Top