RE: IIS/CGI question

2002-12-12 Thread Tillman, James
I believe you're running into a problem with what is called "impersonation credentials" that is often encountered in IIS environments that use network resources.  The essential problem is that IIS doesn't receive your password when you authenticate using Integrated security, it only receives

RE: Counting regex occurrences

2002-12-12 Thread Vuillemot, Ward W
Try #!/usr/bin/perl -w # just makes good sense to use use strict; # declare variables before we use my ($a, $b) = ''; # just a scalar with some characters in it $a = 'a b c d a d e f a g h i z a'; # note the () around RHS of the statement # makes the result an array which then get forced to scala

Regular expression question

2002-12-12 Thread Mangesh
I want to translate some chaarcters in a string to its replacement string.   I am doing this. #** $inchar    = "\xa2\xa3";$outchar   = "\[Cent]\[Pound]"; eval "\$buf =~ tr/$inchar/$outchar/";   #$buf =~ s/$inchar/$outchar/; print

Counting regex occurrences

2002-12-12 Thread Coonfield, Ben CONT
It seems like there should be a simpler way to count the number of occurrences of a regular expression. For example: @temp= / Current Value: /g; $count=@temp; I don't really care about @temp, I only want to get the value for $count. So how can I do this without creating a (named) temporary varia

Re: DNS and WINS question

2002-12-12 Thread steve silvers
use the Win32::TieRegistry module. This works great for this.. Steve From: "Hawley, Eric" <[EMAIL PROTECTED]> To: "Perl-Win32 \(E-mail\)" <[EMAIL PROTECTED]> Subject: DNS and WINS question Date: Thu, 12 Dec 2002 14:45:20 -0500 Would I want to do is to connect remotely to other machines on t

IIS/CGI question

2002-12-12 Thread kevin . mortensen
Hiya all--   I am having problems with a CGI script I'm trying to run off an IIS 5.0 server--  the script does a File::DosGlob::glob("otherserver\\d\$\\folder\\*.txt") type call, where otherserver is a server in the same domain as the IIS server.  I am currently in the local administrator

DNS and WINS question

2002-12-12 Thread Hawley, Eric
Would I want to do is to connect remotely to other machines on the network and establish if they have a DNS or WINS addresses hard coded, if they do I would like to change the DNS setting so that It will obtain the server address automatically, and if there are WINS addresses hard coded I would lik

Re: Hangs on 2nd iteration of loop

2002-12-12 Thread Dirk Bremer \(NISC\)
Ullrich,   I suspect that your problem is that you are reading a large file into an array, i.e.   (@inrecs = )   I think your will find that the program will work better if you eliminate the array and instead read the input and write the output line by line rather than all at once.   Dirk Br

Hangs on 2nd iteration of loop

2002-12-12 Thread Ullrich Fischer
The following almost trivial program hangs the 2nd time it gets to the else { that is shown in large bold font below.   CPU utilization is pegged at 100% and Task Manager shows 99% of CPU time going to perl.exe.  This condition lasts until I hit Ctrl-C on the DOS window containin

Issue fork vs sig

2002-12-12 Thread Serge Andouche
Hi, I have an issue when using fork and sig in the same process. You will find below an example of what is my problem. When you run the script whit the fork, the INT signal generated by "Control-C" is not handled by the process? If you comment the "$pseudoId=fork()" and uncomment the line "$ps

RE: Two questions...

2002-12-12 Thread Burak Gürsoy
Free for evaluation... I dont buy everything I like... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lee Goddard Sent: 12 Aralik 2002 Persembe 19:16 To: Burak Gürsoy; [EMAIL PROTECTED] Subject: RE: Two questions... At 18:03 12/12/2002, Burak Gürsoy

RE: Two questions...

2002-12-12 Thread Lee Goddard
At 18:03 12/12/2002, Burak Gürsoy wrote: Well... TextPad is shareware, but it has no time limits and it does not block any functionality (FYI)... It's a nice editor and does not eat your system resources... Textpad is only $15. Dodn't they pay you? Sheesh. Lee Goddard, BA(Hons), MSc(Sussex)

RE: Two questions...

2002-12-12 Thread Burak Gürsoy
Well... TextPad is shareware, but it has no time limits and it does not block any functionality (FYI)... It's a nice editor and does not eat your system resources... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: 12 Aralýk 2002 Pe

RE: Two questions...

2002-12-12 Thread Chirhart, Brian
>> What editors do you recommend? What program initiation method would you recommend, instead of just using perl filename.plx? On the editor note - I love SciTe for all my windows scripts. It formats your scripts well and a quick F7 will run a "Perl -w" on the code in the window. How do you pron

Re: Two questions...

2002-12-12 Thread RWAPSoftware
In a message dated 12/12/02 13:48:42 GMT Standard Time, [EMAIL PROTECTED] writes: What's a good Perl Editor? -- Well, there's always notepad.exe. The rest are from the mailing list. The reason the information varies is that my knowledge of them varies. PFE32 is a reason

Re: utime issue on Win32

2002-12-12 Thread Lee Goddard
Ah yes, thanks Bill. I'd even read the second, but didn't compute NT as including Win2k (NT5). Completely missed the first although I read it - that win32 tucked away at the end after the full-stop escaped my rushing eyes. Sigh. Thanks. lee ___ Perl-