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
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
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
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
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' =
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.
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
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 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