RE: perlsvc question

2003-04-03 Thread Tobias Hoellrich
At 09:54 AM 4/3/2003 -0500, Eric Logeson wrote: I did read that many times... (http://aspn.activestate.com/ASPN/Perl/Reference/Products/PDK/PerlSvc/What.html) from what I gather I need to specify: $Config{UserName} = 'test'; $Config{Password} = 'test'; which I did, but upon compilation I get the f

Algorithm Suggestions

2003-04-03 Thread Napier, Ed
I'm looking for suggestions on a fast algorithm to do the following: I have a list (thousands) of computers and IP addresses (10.10.10.20) and flat file with thousands of entries relating to subnets and gateways. The format is: First.3.Octets,lower range, upper range, gatewayname which ends up

RE: perlsvc question

2003-04-03 Thread Eric Logeson
I did read that many times... (http://aspn.activestate.com/ASPN/Perl/Reference/Products/PDK/PerlSvc/What.html) from what I gather I need to specify: $Config{UserName} = 'test'; $Config{Password} = 'test'; which I did, but upon compilation I get the following error: CreateService failed: The accoun

Win32::OLE using Wordpad and Tk

2003-04-03 Thread James Hooker
I want to launch MS Wordpad from Perl/Tk. If I use the backtick operator to execute the Word application the main Tk window doesn't get repainted when the Wordpad program covers the main Tk window, consequently leaving huge footprints over the main Tk application. Is it possible to launch a Wordpa

Re: perlsvc question

2003-04-03 Thread Tobias Hoellrich
At 09:18 AM 4/3/2003 -0500, Eric Logeson wrote: Hello How do I specify an account that the service should log on as? Open the PDK Help and read under PerlSvc->"What is PerlSvc?". Hint: Search for UserName. Tobias ___ Perl-Win32-Users mailing list [EMA

perlsvc question

2003-04-03 Thread Eric Logeson
Hello How do I specify an account that the service should log on as? use strict; use warnings; package PerlSvc; our %Config; sub Startup{ while(ContinueRun()){} } sub Install{ $Config{ServiceName} = 'test'; $Config{DisplayName} = 'test'; $Config{UserName} = 'test'

RE: Hash of arrays

2003-04-03 Thread Joseph P. Discenza
Daniel Gross wrote, on Thursday, April 03, 2003 08:45 : > push @{$dirHash{$prefix}}, $item; : Seems to work. It doesn't generate a syntax error. So, value elements : within a hash are always references? : : BTW, in your opinion would this also work when $dirHash{$prefix} is : undefined (i.e.

Re: Hash of arrays

2003-04-03 Thread Alan Dickey
Daniel Gross wrote: > Seems to work. It doesn't generate a syntax error. So, value elements > within a hash are always references? no, but they are always scalars :) > BTW, in your opinion would this also work when $dirHash{$prefix} is > undefined (i.e. when no key was defined yet?) perl has a

RE: Hash of arrays

2003-04-03 Thread Daniel Gross
Thanks, Seems to work. It doesn't generate a syntax error. So, value elements within a hash are always references? BTW, in your opinion would this also work when $dirHash{$prefix} is undefined (i.e. when no key was defined yet?) Thanks Daniel -Original Message- From: Joseph P. Discen

Re: Hash of arrays

2003-04-03 Thread Thomas R Wyant_III
"Daniel Gross" <[EMAIL PROTECTED]> writes: > I running into problems again: This time I'd like to fill a hash > with arrays, however, the following push command generates a > syntax error. Any idea why > My %dirHash = (); > foreach my $item(@dirArray) { > $prefix = substr($item, 0,4); >

RE: Hash of arrays

2003-04-03 Thread Joseph P. Discenza
Daniel Gross wrote, on Thursday, April 03, 2003 08:34 : I running into problems again: This time I'd like to fill a hash with : arrays, however, the following push command generates a syntax error. : Any idea why : : My %dirHash = (); : : foreach my $item(@dirArray) { : $prefix = substr($item

Hash of arrays

2003-04-03 Thread Daniel Gross
Hello all, I running into problems again: This time I'd like to fill a hash with arrays, however, the following push command generates a syntax error. Any idea why My %dirHash = (); foreach my $item(@dirArray) { $prefix = substr($item, 0,4); push @dirHash{$prefix}, $item; } Thanks Dan

Re: Development environments ...

2003-04-03 Thread RWAPSoftware
In a message dated 02/04/2003 23:00:18 GMT Standard Time, [EMAIL PROTECTED] writes: I am currently evaluating development environments for perl. Currently I am using visual perl for visual studio.net and have just downloaded Komodo on windows (both from active state). As I am only starting off wit

RE: Development environments ...

2003-04-03 Thread csaba . raduly
On 03/04/2003 00:09:27 Daniel Gross wrote: >Thank you for the incoming IDE suggestions ... > >Its interesting to see that some Perl developers seem not to "require" >an interactive debugging environment, but are happy with power-text >editors, and (I would imagine) with the command line debugger.

EventLog source ID=1000

2003-04-03 Thread taguti
Hi, I'm using Mr Dave Roth's Win32::EventLog::Message's RegisterSource to register a new EventLog source. It seems to accept only EventID => 0 in Report from Win32::EventLog. In system I'm now developping EventID 1000 means special error ID that is treated as a emergency error log which is report