Re: Better ways to debug ?

2004-10-05 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: In one line: print \$killer = $killer\n; or print '$killer' . $killer . \n; Commas will also work since print can take variable args : print '$killer = ', $killer, \n; I'm not quite sure what you mean with the CRLF. You have a \n already, so the next

OLE automation for MS Publisher

2004-10-05 Thread Brad Smith
Using MS Publisher XP(2002), I was able to create a COM object and build a document! Apparently, previous Publisher versions did not operate on the COM standard. So far, I have managed to create a new document and open an existing .pub document, add pages at a designated position, add

RE: Rejecting adds to a list

2004-10-05 Thread Thomas, Mark - BLS CTR
What I would like is to only include a new IP if $rejected{$_} $tolerate (which is currently working) and the IP isn't currently in the original IP list. my $BlacklistedIPs = $cli-GetBlacklistedIPs(); foreach (keys %rejected) { $BlacklistedIPs .= \\e$_ if ($rejected{$_}

BSOD - perl one liner

2004-10-05 Thread Allegakoen, Justin Devanandan
Just out of interest anyone have that funky little perl -e one liner that causes Windows to puke and die? I remember it has some \n's and \t's in it. I can't find it in the archives, and it may only work on Win2k since it was posted quite a while back. Just in