RE: Retrieving WMI object data via WMI/WBEM ODBC Adapter

2004-05-13 Thread John_Ramsden
[Thanks for replying Wayne. I hope you don't mind, but I've copied the list back in, in case this discussion is of interest to others and prompts any more feedback!) Going back to first principles, the basic challenge I have is to produce a perl script that can run on either Windows or Unix to co

Re: RE: Problem in Buffers

2004-05-13 Thread Gurpreet Sachdeva
>>You have not given a sample of your code, Here is a part of my code: [CODE STARTS] #!/usr/bin/perl open(FILE, "phone.txt") || die ("cannot open file phone.txt"); $line1=; while ($line1 ne "") { chop ($line1); @words1 = split(/ +/, $line1); chomp($words1[0]); chomp($words1[1]); c

RE: dll error with AdminMisc

2004-05-13 Thread jonathan_hughes
With my problem thgis did not help - I know what you are reffering to - but still did not help me with a later version of ActivePerl. JH Jonathan Hughes

RE: dll error with AdminMisc

2004-05-13 Thread extern . Lars . Oeschey
> I haved a similar problem using Sybperl > > First I get a Windows error that "MSVCR70.dll" can't be I found a solution in the archives. Copying the dll to the Win32 dir of AdminMisc resolved the issue. Lars ___ ActivePerl mailing list [EMAIL PROTECTE

RE: Problem in Buffers

2004-05-13 Thread Bharucha, Nikhil
You have not given a sample of your code, but if you are processing the files in-line, undef the variables after each file is processed so it can be reused by subsequent files. Otherwise Perl will keep requesting more and more memory and only release it when the entire process finishes. When t

Retrieving WMI object data via WMI/WBEM ODBC Adapter

2004-05-13 Thread John_Ramsden
This is driving me nuts! Is there anyone on the entire planet who has ever actually used Microsoft's WMI ODBC Adapter, via perl or otherwise ?! I am trying to write a perl script to read WMI class instances via ODBC, in the hope of producing an OS-independent script [*] that can be run from eithe

Re: dll error with AdminMisc

2004-05-13 Thread yop = me
I haved a similar problem using Sybperl Can't load 'C:/Perl/don't remember... and searched the path that my Perl program gives me, and the library was there. I resolved it by adding the path to my eviormente variables. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: dll error with AdminMisc

2004-05-13 Thread jonathan_hughes
I have had this when I upgrade to a newer version of ActiveState Perl (the only one I use). I have found this works on earlier Perl versions (Perl 5 build 680 I think) This is from my own testing.. Hope it helps..

dll error with AdminMisc

2004-05-13 Thread extern . Lars . Oeschey
Hi, I'm trying to make a script with Win32::AdminMisc, and something weird must have happened to my perl installation. First I get a Windows error that "MSVCR70.dll" can't be found, and from my perl program I get: Can't load 'E:/Perl/site/lib/auto/Win32/AdminMisc/AdminMisc.dll' for module Win3 2