RE: $# and %s Crashing Perl V5.8.7

2006-06-21 Thread Jan Dubois
[resending because the first attempt was blocked] > -Original Message- > From: Jan Dubois [mailto:[EMAIL PROTECTED] > Sent: June 21, 2006 5:38 PM > To: 'Veli-Pekka Tätilä'; '[EMAIL PROTECTED]' > Subject: RE: $# and %s Crashing Perl V5.8.7 > > On Wed, 21 Jun 2006, Veli-Pekka Tätilä wrote:

Re: $# and %s Crashing Perl V5.8.7

2006-06-21 Thread Veli-Pekka Tätilä
Joe Discenza wrote: "Veli-Pekka Tätilä" wrote, on Wednesday, June 21, 2006 1:54 PM $# = '%s'; # But an invalid format. print $pi; # crashes the interpreter. I'm running Active State Perl v5.8.7 build 815 [211909]. I just tested this with build 638, also XP Pro SP2, with the same results. Ah go

$# and %s Crashing Perl V5.8.7

2006-06-21 Thread Veli-Pekka Tätilä
Hi, Browsing perlvar the other day, I noticed a deprecated variable called $# controlling the printing of floating point values. The examples I found of its usage hinted at sprintf style formatting and in fact it appears to work oK. However, I got curious enough to try out format chars other th

Re: WMI Asynchronous Calls

2006-06-21 Thread Chris Wagner
I would speed it up my making it multithreaded. This is really pretty easy. Read up on the threads pragma in the docs. U could then do 10 or 20 simultaneously no problem. something like: threadlimit = 10; while (threads < threadlimit) { last unless @machinestocheck; async(dosomet

Cross-Domain Group Membership

2006-06-21 Thread Andy Speagle
Hi all...   I'm trying to figure out the best (read: fastest) way to collect local domain group membership information for users in other trusted domains in our forest... I'm trying to figure out if I can impersonate as the outside domain user in my local domain and collect groups from the login to

Re: Wide character Filename in Perl 5.8

2006-06-21 Thread D D Allen
The "wide_system_calls" option was intentionally disabled in Perl 5.8.  See the following posting from Jan Dubois. http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/2933666 There are two work arounds to this problem.   (1)  Use the "FileSystem.Scripting"  OLE object as referenced in

WMI Asynchronous Calls

2006-06-21 Thread Paul Sobey
I have a script which restarts services on around 400 clients. At the moment, the script connects to WMI on each machine separately and calls Win32_Service->StopService(), followed by Win32_Service->StartService(). I'd like to speed it up a bit and thought of using the WMI asynchronous providers t