Perlsvc created a program that eternally says "starting"

2002-12-20 Thread Lee Clemmer
I posted this on the PDK mailing list but only got one reply. I'd like a 2nd opinion before I re-code! Thanks, Lee (post, other reply & dialog follows) > -Original Message----- > From: Lee Clemmer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 2:4

RE: Direct to Browser interaction

2002-12-20 Thread Lee Clemmer
>Biggest problems is figuring out how it needs to be configured. I >didn't have much luck in configuring Apache for Linux. > >Shain If you don't want to use Apache there are several *excellent* lightweight servers that are completely painless to set up. They have far fewer features, but you likel

RE: Search & Replace

2002-12-18 Thread Lee Clemmer
>You can do it right at the command line... Now why would we want do to something that fast & easy?! ;) Lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Search & Replace

2002-12-18 Thread Lee Clemmer
Lee Clemmer <[EMAIL PROTECTED]> wrote: >> s/$search/$newstr/i >You might want to modify this to >s/$search/$newstr/igo Ah, I realized after I sent it that "greedy" wasn't set. Oops. But I didn't know about the "o", though. >The "o

RE: Search & Replace

2002-12-18 Thread Lee Clemmer
Here's one way to do it. The code is readable versus efficient. Note that this preserves the original file in case you screw up. #!/usr/bin/perl -w # search and replace my ($search, $newstr, $file, $temp, $counter); usage() unless scalar(@ARGV) >= 1; print "Pattern to search for: "; chomp($sea

RE: Sendmail bounce handling revisited (was Re: sendmail bounce handling)

2002-12-16 Thread Lee Clemmer
7;t take mail from you. $smtp->recipient($address,{SkipBad=>1}) or return warn $smtp->message; #Here's a warning about the recip. read about SkipBad, you might not want to... $smtp->data($message) or return warn $smtp->message;

RE: Problems with Win32::TieRegistry SetValue for REG_MULTI_SZ type.

2002-12-13 Thread Lee Clemmer
Yep! Thanks everyone, this was it. I should know better, but the examples don't show references \@array anywhere. I was forgetting the meaning of ["1", "2", "3"] as an anonymous array that would require a reference. After making the change from @junklist to \@junklist in my code, it works prope