RE: undefing Ole object without closing the application ?

2001-02-01 Thread Dave . Clarke
Test if Excel is already running, and if not start it. Since you are connecting to an active application, Excel won't close when perl exits. use Win32::OLE; # Test if Excel is already running eval {$Excel = Win32::OLE->GetActiveObject('Excel.Application')

Regex Help

2001-02-01 Thread Dirk Bremer
I have a complicated string: (! SUBSTR(DB.USER1,2,5)="9") .AND. (LEFT(DB.USER1,1)<"1") .AND. (ALLTRIM(DB.OUNCEWT)>"2") that I want to search for and them replace. I have tried this with no luck: if ($InputLine =~ /\(\! SUBSTR\(DB\.USER1,2,5\)\=\"9\") \.AND\. \(LEFT\(DB\.USER1,1\)\<\"1\"

Re: Version Number of Package

2001-02-01 Thread Philip Newton
Purcell, Scott wrote: > How does one get the version of a installed package? > > EG. If I want to know which version of the DBI I have, what do I do? This often works: perl -MMy::Module -e "print $My::Module::VERSION" , since, by convention, modules contain a variable $VERSION containing t

Version Number of Package

2001-02-01 Thread Purcell, Scott
How does one get the version of a installed package? EG. If I want to know which version of the DBI I have, what do I do? Thanks, Scott Purcell ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-w

Re: Version Number of Package

2001-02-01 Thread Hirosi Taguti
> How does one get the version of a installed package? > EG. If I want to know which version of the DBI I have, what do I do? I will do... C:\>ppm query DBI DBI [1.14] Database independent interface for Perl C:\> -- [EMAIL PROTECTED] ___ Perl-Win32-U

Installing Win32::AdminMisc (not on ActiveState)

2001-02-01 Thread Jon Nelson
Hi all, Sorry I'm writing to the ActiveState mailing list when it doesn't really apply to ActiveState. I've been using Roth's Win32::AdminMisc module on ActiveState for a few months now and it's worked wonderfully. The problem is that now I'm trying to install it on the non-ActiveState version