RE: Regex Help

2005-01-27 Thread Mike.Owens
Dirk, I'm not a regex pro, but this worked for me: /^\d{4}(-\d{2}){0,2}$/ I tested it with this: @test = qw( 2004 200412 20041201 2004-12 2004-12-01 ); foreach $test (@test) { print $test : . ($test =~ /^\d{4}(-\d{2}){0,2}$/ ? TRUE : FALSE) . \n; } Regards, Mike -Original

RE: Win32::OLE-GetActiveObject not working!

2005-01-20 Thread Mike.Owens
Richard, I've been having similar difficulty using Win32::OLE with Internet Explorer recently. I wrote code that worked a month ago that doesn't work today. Perl simply can't get an OLE connection to Internet Explorer anymore, even though I can still connect to Excel, etc. Something must

Re: Win32::OLE::GetActiveObject problem

2005-01-05 Thread Mike.Owens
Hello, I've been having problems with a similar code snippet. Several months ago I wrote a perl script for my office that filled in a HTML form in Internet Explorer using a database. The code worked successfully on four Win2k machines here. One by one, the same code stopped working on the