Re: Win32::OLE on MS Word using Selection.Find.Execute

2010-09-13 Thread Mark Leighton
Peter, OLE needs Variant values. Perl and the OLE modules will convert most of these on he fly for you, but sometimes I find I have a need to convert booleans explicitly. my $false = Win32::OLE::Variant-new(VT_VARIANT, 0); my $true = Win32::OLE::Variant-new(VT_VARIANT, 1); Mark On 9/12/2010

Re: Displaying Hash key/values if you don't know what they are

2009-11-18 Thread Mark Leighton
From what I see here, $rows is a hash reference, therefore: use strict; use warnings; my $mySQL = SQLfunctions-new; $mySQL-createSQLConnection(localhost\\Company, Import); my @results = $mySQL-runQuery(Select A,B from tablename;); foreach my $row ( @results ) { foreach my $column ( keys

Re: Advice requested, porting unix perl app to windows

2009-06-03 Thread Mark Leighton
first. Cheers, Mark --- Mark Leighton CLIC LAN Supervisor, Information Commons, University of Toronto E-mail: mark{DOT}leighton{AT}utoronto.ca Original Message Subject: Advice requested, porting unix perl app to windows From: Dennis Daupert ddaup...@csc.com To: perl-win32

Re: WMI remote querying

2009-03-24 Thread Mark Leighton
before - usually just use the OLE methods directly and they haven't given problems. You may want to confirm passwords, etc. using the wmic utility before worrying about the underlying Perl code. eg. wmic /NODE:machine /USER:machine\admin OS LIST BRIEF Mark --- Mark Leighton CLIC LAN Supervisor

Re: Perl Net::LDAP question

2006-12-08 Thread Mark Leighton
Fax: 724-772-7889 email: [EMAIL PROTECTED] --- Mark Leighton CLIC Lan Supervisor, Information Commons, University of Toronto Phone: (416) 946-7094 Fax: (416) 978-0440 E-mail: mark{DOT}leighton{AT}utoronto.ca ___ Perl-Win32-Users mailing

RE: Unattended perl installation

2001-01-22 Thread Mark Leighton
eg. CODEBASE HREF="x86/Win32-AdminMisc.tar.gz" / Therefore, there should be an x86 directory in the same directory as the Win32-AdminMisc.ppd file. Good luck, Mark -+-- Mark Leighton|