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')
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\"
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
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
> 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
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