regexp: either = | ; and = ???

2001-11-08 Thread Louis-Philippe Dextraze
ot;name your state" "the name of some dude" if (/(the|name/) { print "Match"; } this would match all of the string above. how could I but the regexp to match ONLY the strings that contain both ? as this one "the name of some dude" Thank

Hit counter

2001-10-01 Thread Louis-Philippe Dextraze
Hi, I'm working on a small Hit counting CGI. it writes to a file with the format DDMMM.log so that each day has it's own log file. the problem i'm having is that it was written for about 1500 hits a day spread out...now the cgi is being called over 3000 times a day. And I seem to have

Reading backwards

2001-09-01 Thread Louis-Philippe Dextraze
Hi everyone, I'm trying to read throu a 200meg+ error log file. (I have no administrative rights on this server, you see i'm just a programmer why would my boss think i'd need access to a error log not as if it would make my life easyer or anything...ok this rant is over) I'm trying to re