regexp modrewrite255 (11/24/2008 4:17:05 PM) Hi, Im trying to use modrewrite and apply it to any address of the format: domain.com/whatever but not applicable to: domain.com/whatever.something or domain.com/whatever/something/ What is the correct reg... marc
How to iterator array in order?1956 (11/21/2008 4:39:04 AM) Hi, I know at least three ways to iterator an array. But I'm not sure if the first two iteration methods would iterator the array in order (from the first element to the last element). Can somebody let me know... Peng
sleep(30) hangs747 (11/18/2008 4:01:00 PM) Hi, I have a programs that checks emails via IMAP and then sleeps for 30 seconds. Occasionally, it hangs on the line where it calls sleep(30). I use Perl 5.8.8 (ActivePerl Build 820) running on Windows 2000 S... marathoner
FAQ 9.5 How do I extract URLs? #14016 (11/24/2008 8:03:01 AM) This is an excerpt from the latest version perlfaq9.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review ... brian125(4408)
regular expression to detect dos filenames844 (11/21/2008 5:13:11 PM) I have seen this as an example of how to detect dos filenames: $string =~ m/^\S{1,8}\.\S{0,3}/; Unfortunately it doesn't work: my $string = 'filename.notdos'; print 'is dos' if $string =~ m/^\S{1,8}\.\S{0,3... dan
post increment or pre increment?852 (11/21/2008 4:23:30 AM) Hi, I learned in C++, that it is better to use pre increment rather than post increment. I'm wondering which one is better to use in perl, for example, in a for loop. for(my $i = 0; $i <10; ++ $i) or for(my... Peng
Cloning classes, deep copy revisited (Was: Copy Consturctor in Perl) ..073 (11/23/2008 8:33:14 PM) I've got a few packages declared in on file. I need a clone/copy type functionality for all the ones dealing with a high probability they will be duplicated (but maybe not) in mass. So I need a clone/copy type ... sln