You are here:
| Expert | Average Ratings | Expertise |
|---|---|---|
Michael KroherU.S.
Available
|
I can help with questions regarding module installation, regular expressions, CGI, web development, server administration, etc. | |
Jason SilverCanada
Available
|
I can answer questions about script installation problems. I can give hints and tips for writing code. I can suggest the best approaches for writing web applications, and other similar topics. | |
Justin WheelerCanada
Available
|
Any question relating to Perl including its internals, data structures, speed, memory usage, syntax, version changes, extra CPAN modules, code standards, code cleanup, or just silly problems. |
Hi, Glad the code worked out of the box-- I didn't test it at all. The 'sort by value' is done by using the number comparison operator <=>. There is a little nested comparison happening as it sorts
Though not tested, I would do it this way since you said the file isn't very large: #!/usr/bin/perl # get the file first: open (FILE, 'z.txt'); @whole_file = <FILE>; # assign it to an array
Hi Petar, When you do that, perl things you're ending the regular expression at </ and then you're giving it flags of b> and starting a new command of /ig. Which is of course, invalid syntax. The
Hello, I'm not familiar with a Windows environment, but I will say that 15 to 20 visitors a minute is not much of a load at all. I don't believe it's a problem that can be fixed with your config file
Hi Filzah, You'll need to run an actual webserver to run the CGI. If it's a Perl scripts, you'll need to download a perl interpreter for windows. Apache is open source and free, so you could install
Answers by Expert:

©2009 About.com, a part of The New York Times Company. All rights reserved.