RE: My DBI script wont UPDATE a Table!

2004-04-02 Thread Lodewijks, Jeroen
Do you have rights to update the table on the production database? > -Original Message- > From: Mark Martin [mailto:[EMAIL PROTECTED] > Sent: 02 April 2004 14:53 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: My DBI script wont UPDATE a Table! > > > Hi, > I designed my application

Sharpening up the error handling of Mime::Lite

2003-08-10 Thread Lodewijks, Jeroen
Hi all, I use module Mime::Lite to email. All works fine but I am not happy with the error handling. The documentation (http://search.cpan.org/author/YVES/MIME-Lite-3.01/lib/MIME/Lite.pm#send) states: -- part of doc As an instance method with no arguments, sends the message by the default mecha

RE: Learning Perl vs. c ++

2003-08-01 Thread Lodewijks, Jeroen
Hi Dan, The point I was trying to make, is that Perl itself does not stimulate readability, type checking, managability, etc. Of course, a good programmer does not care much about as he or she will write 'good' code anyway. Using that philosophy, it wouldn't matter in which language a good prog

RE: Learning Perl vs. c ++

2003-08-01 Thread Lodewijks, Jeroen
Hi Bruce, It's not unusual to see glowing reports about Perl on a Perl mailing list. However, I like to share a couple of points I think Perl has a problem with. a) Huge projects/programs. Perl is not an easy beast to keep on a leash. Perl doesn't really force you to keep your code tidy and IMHO

quick question on internal data structure

2003-07-29 Thread Lodewijks, Jeroen
Hi all, I have a 2 questions about the internal representation of a hash or array. Consider this piece of code: 1) sub PassHash { my (%hash) = @_; $hash{$some_key} = 'test'; ... } PassHash(%hash); What happens internally? Will the whole contents of the hash be copied in memory? O

RE: IPC with parent from mutiple children

2003-06-27 Thread Lodewijks, Jeroen
I think I have found the problem. It turns out that the closing and opening of the pipe is in the wrong place. This code actually works: #!/bin/env perl # use strict; use FileHandle; # Global variables; my $child = 0; my $max_child = 60; # --- Sub routines

IPC with parent from mutiple children

2003-06-26 Thread Lodewijks, Jeroen
Hi all, Again, I drown in the muddy watters of child processes: What I want to achieve is: spawn up to $max_child processes and setup pipes in such away that all child processes can 'print' to the parent. This because I want to inform the parent about the exit value of the process (I know I can