Re: Perl script hogging CPU in WinNT

2000-11-22 Thread Carl Jolley
On Wed, 22 Nov 2000, Stuart MacCallum wrote: > Hi and thanks to all that reply in advance. > > This should be an easy one to all those who are experienced in perl. > > I have written a perl script that runs as a background process on the win32 > platform. Unfortunately it is hogging all of the

symbolic link question

2000-11-22 Thread Dan Jablonsky
Hi everybody, I was offered an elegant solution to manipulate files in a directory: open(OUT,">>output_file") || die; foreach $file (<*daily*>) { #match files with 'daily' open(FILE,$file) || die; while() { #do something to that file; print OUT; } close FILE; } close

Re: Using Sendmail - inserting html isn't rendered

2000-11-22 Thread Carl Jolley
On Tue, 21 Nov 2000, byron wise wrote: > I am able to send mail using Sendmail with no prob. But now I want to > insert html tags to change color of text, make things bold, even give a > background color. When I put them in as I would imagine the tags show up in > the body..not rendered at all.

Re: regex... please

2000-11-22 Thread Carl Jolley
On Tue, 21 Nov 2000, Charles Maier wrote: > How do I code a m//ig to hit on either a ';' or a "\r\n" or a "\n".. in that > order??? > I would code it as: /(?:;|\r?\n)/; [EMAIL PROTECTED] All opinions are my own and not necessarily those of my employer _

Re: Hash

2000-11-22 Thread Ian Taite
Here's an example I've used: # Call a subroutine passing a hash of parameters: $ResCode = &subExportDirectory({ OutputFile => 'DePriest.FullDirExport.tsv', AdminProgram => 'c:\\exchsrvr\\bin\\admin.exe', DirectoryService => 'YOUR_SERVER

Re: PerlCtrl and VBA

2000-11-22 Thread Lee
I think you may find the ActiveState PDK list more helpful. lee ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Re: Using Sendmail - inserting html isn't rendered

2000-11-22 Thread Philip Newton
byron wise wrote: > I am able to send mail using Sendmail with no prob. But now I want to > insert html tags to change color of text, make things bold, > even give a background color. When I put them in as I would > imagine the tags show up in the body..not rendered at all. Is > there a fix?

Re: DBI using cursors

2000-11-22 Thread Philip Newton
barons wrote: > I have my Perl script set up to page through recordsets. 10 > pages at a time. My SQL call is something like this. > > SELECT column1, column2 FROM table. > > Now each time the next or prev button is pressed this SQL > call is executed and searches through the table to find whe