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?
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
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...
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...
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...
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...
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...
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...
Hi there,
Thanks for the help so far guys, it's appreciated.
siberian: What do you mean by "binding" and "properly indexed" (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...
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...
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.