RE: grep

2001-06-04 Thread Jesse Sookne
Tanya, If all you want to do is add header info to the top of a bunch of files, you could use something like the script below, which is simpler than using grep, etc. The script below would be invoked as (for example): perl header.pl C:\*.c D:\*.cpp Hope this helps, Jesse #Begin Script

RE: very basic TK ?

2001-05-09 Thread Jesse Sookne
Seems like there are two things you can do to correct this: 1) Change the line use TK; to use Tk; (make the K lowercase). 2) Change the line MainLoop; to $mw-MainLoop;. I'm not sure what the differences between TK and Tk are (or why there's two Tk modules), but apparently the Tk module exports

RE: Threads in ASPerl build 623

2001-04-04 Thread Jesse Sookne
Title: RE: Threads in ASPerl build 623 See message below. This is definitely a FAQ. -Jesse -Original Message- From: Jesse Sookne Sent: Thursday, March 29, 2001 11:17 AM To: 'Kirk Rogers'; Perl-Win32-Users2 (E-mail) Subject: RE: Multithreaded Apps on Win32? In perl 5.6, threads

RE: Multithreaded Apps on Win32?

2001-03-29 Thread Jesse Sookne
In perl 5.6, threads are implemented via the fork() emulation. Read perldoc perlfork for more info. The Thread module was used in previous versions, and is not compatible with 5.6. -Jesse -Original Message- From: Kirk Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001

RE: building a time range structure

2001-03-15 Thread Jesse Sookne
Hi Chuck, Here's a quick hack that seems to work. I'm sure there are better ways of doing it though. Anyway, hope this helps. -Jesse my %timeranges = ( 1 = { #network number 4 = { '_1159' = 4, '1200_2400' = 6 },#day 4 = Thursday 5 = { '_1159' =

RE: How do I use threads

2001-03-05 Thread Jesse Sookne
Title: RE: How do I use threads Actually, threads are implemented in ActivePerl 5.6, but not with the Threads module, which as far as I know is only for the 5xx builds of ActivePerl. In AP 5.6, you can use threads through the fork() emulation. Read 'perldoc perlfork' for more info.

RE: How do I use threads

2001-03-05 Thread Jesse Sookne
Oops, non-HTML version follows. -Jesse -Original Message- From: Jesse Sookne Sent: Monday, March 05, 2001 11:29 AM To: 'Peter Guzis'; 'Robert Follis'; '[EMAIL PROTECTED]' Subject: RE: How do I use threads Actually, threads are implemented in ActivePerl 5.6, but not with the Threads

RE: dereferencing hash problem

2000-12-07 Thread Jesse Sookne
the way you expected to, would be: ### %win2k_counters= ( 'CommitedBytesInUse'= "\\Memory\\ Committed Bytes In Use", 'MbytesAvail' = "Memory\\Available MBytes", ); while (($key, $value) = each (%win2k_counters)) { print "The key is $key and the value is $value\n";

testing

2000-12-07 Thread Jesse Sookne
testing to see if this comes out in HTML or plain textplease ignore. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users