RE: $text->insert(?);

2002-11-18 Thread Toby Stuart
> -Original Message- > From: Hudson T Clark [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 30, 2002 6:37 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: $text->insert(?); > > > why doesn't this work... I'm so frusted ERR... lol > > #!/usr/bin/perl -w > use Tk;

Re: $text->insert(?);

2002-11-18 Thread Hudson T Clark
why doesn't this work... I'm so frusted ERR... lol #!/usr/bin/perl -w use Tk; use strict; my $mainwindow = MainWindow->new(); $mainwindow->minsize( qw(330 240)); $mainwindow->maxsize(qw(330 240)); my $textbox = $mainwindow->Text(-height => 5, -width => 30, -state => 'disabled')->pack(); $textbo

RE: $text->insert(?);

2002-11-18 Thread Toby Stuart
> -Original Message- > From: Hudson T Clark [mailto:[EMAIL PROTECTED]] > Sent: Saturday, November 30, 2002 4:45 PM > To: [EMAIL PROTECTED] > Subject: $text->insert(?); > > > I'm having problems finding examples of inserting text into a Text > widget... use strict; use Tk; my $mw =

$text->insert(?);

2002-11-18 Thread Hudson T Clark
I'm having problems finding examples of inserting text into a Text widget... ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: RAM size value from NT registry

2002-11-18 Thread King, Jason G
Kevin wrote.. >Alright this is killin me: > >How do you properly unpack the binary value from the >"//$machine/LMachine/HARDWARE/RESOURCEMAP/System >Resources/Physical Memory/.Translated" key to get the RAM size? > >I tried using upack() with every template but I dont seem to >get value that

RE: Coding style filter

2002-11-18 Thread Hugh S. Myers
I've used it for several years---and it is good, works well etc. --hsm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mohammed Khatib Sent: Monday, November 18, 2002 4:18 PM To: Michael Erskine; [EMAIL PROTECTED] Subject: RE: Coding style filter Thanks

RE: Coding style filter

2002-11-18 Thread Mohammed Khatib
Thanks for the suggestion of PerlTidy. From a brief look, it appears to be pretty good. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Erskine Sent: Tuesday, 19 November 2002 1:03 AM To: [EMAIL PROTECTED] Subject: RE: Coding style filter > -

RE: another "cute" perl/tk question

2002-11-18 Thread Toby Stuart
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 4:19 AM > To: [EMAIL PROTECTED] > Subject: another "cute" perl/tk question > > > Ok if I take out the if(){} statement then it will simply > fill the bar... as predicted. Howeve

RAM size value from NT registry

2002-11-18 Thread kevin . mortensen
Hiya all,   :) Alright this is killin me: How do you properly unpack the binary value from the "//$machine/LMachine/HARDWARE/RESOURCEMAP/System Resources/Physical Memory/.Translated" key to get the RAM size? I tried using upack() with every template but I dont seem to get value that looks corre

RE: Connection to MSSql

2002-11-18 Thread FARRINGTON, RYAN
below is the code I use to access a SQL 2K box. Make sure you are running MDAC 2.7 otherwise you will run into problems. Please forgive the un-'l33t code... I'n not a PERL guru (yet) and if you want to assist in making the code 'l33t please give it a shot =)     use Win32::OLE;use Win32::OL