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

    Return Position of Element in an Array

    Thanks guys!
  2. aj2taylo

    Return Position of Element in an Array

    Suppose I have an array @list, and I want to know where "foo" is in the list. Is there a short command to return that "foo" is the nth element of the array?
  3. aj2taylo

    Replace Windows Control Characters (^M)

    Hello, I'm wondering how in a Perl script I can do a search/replace on windows control characters (^M). I've seen how to do this in vi, but not sure how to integrate into my script. Thanks
  4. aj2taylo

    sort | split

    Great, thank you very much feherke!
  5. aj2taylo

    sort | split

    Hello, I'm trying to manage some large files and will need to use the unix sort and split command. I'm doing something like: sort -m -T /some/dir fileA fileB fileC | split -l 1000000 The problem is I want to set a prefix for the split files, and can't figure out how to do this (when I append...
  6. aj2taylo

    Command line: split command

    Hello, I'm trying to manage some large files and will need to use the unix sort and split command. I'm doing something like: split -m -T /some/dir fileA fileB fileC | split -l 1000000 The problem is I want to set a prefix for the split files, and can't figure out how to do this (when I...
  7. aj2taylo

    Sort and Merge bzip2 files

    Hello, Does anyone know a command which will sort and merge very large bzip2 files, hopefully without individually decompressing the files. Thanks
  8. aj2taylo

    Suppress Select Box Drop Down

    Hi there, Is there a way to suppress the drop down values for a select box (but not disable the box)? So if you had a dropdown box with values test 1 test 2 test 3 The page would load with "test 1" selected, and if the user clicked on the drop down box, I could have some CSS layer come up...
  9. aj2taylo

    Javascript: Drop down select box

    Thanks cLFlaVA, that's great.
  10. aj2taylo

    Javascript: Drop down select box

    Here's some clarification Say I have a dropdown box, where the options are dynamically created through a Perl script. So, it generates something like: <select name="dropdownbox" id="dropdown"> <option value="option1">Option 1</option> <option value="option2">Option 2</option> <option...
  11. aj2taylo

    Javascript: Drop down select box

    Hello, I have a select box that I'm trying to integrate with my site. If a user clicks on a certain image, I want to then populate the select box with the appropriate corresponding value. I'm familiar with the document.getElementById("somefield").selectedIndex = "somevalue" method, but I'm...
  12. aj2taylo

    Modifying HTTP Headers

    Is there a way through Apache Config that I could modify HTTP headers "Max-Age" and "Last Modified"?
  13. aj2taylo

    Cookies and External Domain

    Is there a way to clear the cookies for an external domain using javascript? Thanks
  14. aj2taylo

    Suppress &quot;print&quot; from program in &quot;do&quot; command

    I have a segment of code like: do "some.cgi"; This obviously executes some.cgi, however I would like to do the following: 1) I wish to suppress whatever gets printed from some.cgi 2) Ideally, I'd like to do something like "$result = do "some.cgi"; ", but not sure if this is possible. Keep...
  15. aj2taylo

    Large SQL updates

    Hi there, Thanks for the help so far guys, it's appreciated. siberian: What do you mean by &quot;binding&quot; and &quot;properly indexed&quot; (unique keys?). The suggestion about running it from a seperate server is a good one, I think I'll do so. MikeLacey: Yeah, I'm going through...
  16. aj2taylo

    Large SQL updates

    Hello, I am trying to build a relationship between 2 tables by trying to match up records between them, grab a value from table B, and then insert it into table A for the corresponding record. The problem is the tables are very large (table A, which I'm updating, has 400,000+ records), and I...
  17. aj2taylo

    Math function

    Hey, I have been looking around and having trouble finding if a MOD math function, eg. 8 mod 5 = 3. Does anyone know if this exists? Thanks

Part and Inventory Search

Back
Top