Re: working with array references.

2002-10-14 Thread csaba . raduly
On 13/10/2002 01:30:18 perl-win32-users-admin wrote: Hi list, given an array reference in a hash, how can I append an item to the end of that array? Or find the length so that I can assign it using $ref-[$n] type notation? I have tried various comboes... $hash{$key} holds a reference to an

Re: Win32::AdminMisc problems - is there an alternative?

2002-10-14 Thread Sean Ahern
At 12:59 09/10/2002 -0700, $Bill Luebkert wrote: Maybe the constants aren't defined: use constant EWX_LOGOFF = 0; use constant EWX_FORCE = 4; Other values: I eventually got this work to using the actual values rather than the constant names in the call to Win32::AdminMisc::ExitWindows.

code snippet

2002-10-14 Thread Al Caraciolo
Ok I'm going to ask another really dumb question... (my last question was a capitalization error)! Anyway I am a very, very novice perl programmer, so forgive me if this seems obvious. I am writing a quick routine that will ask for a person's user name and password in a DOS window, to be used

Custom OLE interfaces

2002-10-14 Thread Zempel, David
I'm designing building an automated testing system using Perl. Our intent is to implement an interface to our target hardware via an OLE com object. However, in reading up on this I've become quite concerned about this thing being referred to as a "custom interfaces" as not being fully

RE: Regexp needed

2002-10-14 Thread JGONCALV
Hi, i have a file like this: . p167 bt1sqtf4 2720 1055adelevin 2002-10-14 11:21 p130 bt1sqtf4 1753 520 aginer2002-10-14 10:33 p143 bt1sqtf4 1658 518 alchippe 2002-10-14 10:30 p144 bt1sqtf4 1777 663 amaragou 2002-10-14 10:33 p175

RE: Regexp needed

2002-10-14 Thread Stovall, Adrian M.
Assuming you put each line in a variable called $line... @columns = split($line); Pretty simple, eh? @columns will have 8 elements (0-7) based on the data you provided. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 10:29 AM To:

RE: Regexp needed

2002-10-14 Thread Krishna, Hari
Should be fairly simple... You can split it using the space concept... ($p1,$p2,$p3,$p4,$p5,$p6,$p7,$p8) = split(/\s+/,$_); So $p5 has the fifth element and you can do what ever you want with that. Or you can use the array (@arr_extract) and do the same. -Original Message- From: