Problem identifying Win32 Type

2006-02-07 Thread Sturdevant, Robert W. C-E LCMC SEC-Lee SSC
Hi list, I need some help identifying Win 2000 Pro installations in my Perl script. Win 2000 Svr is not a problem. Here is what I am doing. MS has GetType.exe as part of the W2k Resource Kit. But when run on 2000 Pro from Perl script (at least mine) I get an invalid response. I have

RE: Problem identifying Win32 Type

2006-02-07 Thread Bullock, Howard A.
Why not use ... Win32::GetOSVersion() [CORE] Returns the list (STRING, MAJOR, MINOR, BUILD, ID), where the elements are, respectively: An arbitrary descriptive string, the major version number of the operating system, the minor version number, the build number, and a digit indicating the actual

Re: [aswin32] Win32::GUI: How do I use a splitter (window frames)

2006-02-07 Thread Robert May
I posted this example to the list not that long ago. I've since corrected it so that it doesn't leave ugly lines all over the place. Regards, Rob. #!perl -w use strict; use warnings; use Win32::GUI; my $mw = Win32::GUI::Window-new( -title = Splitter Test, -pos = [100,100],

TK question

2006-02-07 Thread Spencer_Lists
Greetings perl-win32-users, This is really a TK question but I can't find a way to join the TK list in order to post. It does not show up in the subscriptions list. I have a TK Canvas on which I have drawn 128 polygons representing the extended MIDI piano keyboard. I have tried everything I can

Re: TK question

2006-02-07 Thread Lynn. Rickards
Spencer_Lists wrote: Greetings perl-win32-users, This is really a TK question but I can't find a way to join the TK list in order to post. It does not show up in the subscriptions list. I have a TK Canvas on which I have drawn 128 polygons representing the extended MIDI piano keyboard. I have

matrix writing in a file

2006-02-07 Thread amit hetawal
? Hello all, I am writing a matrix to a file as : open(WRITE, training.txt); for ($x = 1; $x27; ++$x) { for($y=1; $y27;++$y) { print WRITE $matrix[$x][$y] ; } print WRITE \n; } this code is working fine and writing the file in format as ; 0 0 0 0 0 0 0 1 1 1 2 3 4 5 0 0 0 0 0 0

Re: matrix writing in a file

2006-02-07 Thread $Bill Luebkert
amit hetawal wrote: ? Hello all, I am writing a matrix to a file as : open(WRITE, training.txt); for ($x = 1; $x27; ++$x) { for($y=1; $y27;++$y) { print WRITE $matrix[$x][$y] ; } print WRITE \n; } this code is working fine and writing the file in format as ; 0