Re: timing a fork

2008-08-24 Thread Raymond Wan
Hi Rob, Sorry for the delay -- enjoyed the weekend away from the computer. :-) Rob Dixon wrote: Raymond Wan wrote: Rob Dixon wrote: use strict; use warnings; $|++; # autoflush $SIG{CHLD} = 'IGNORE'; my $kid = fork; if ($kid) { print "in parent whose kid is $kid\n"; sleep 10

Re: How to compress an exe file?

2008-08-24 Thread Raymond Wan
Hi Sanket, sanket vaidya wrote: I have made an exe using PAR::Packer. Now I want to reduce the size of exe. Can anyone suggest me how to do that? Using Perl? Perl aside, executables are generally not compressible...or, to be precise, not compressible by much. While you mig

How to compress an exe file?

2008-08-24 Thread sanket vaidya
Hi all, I have made an exe using PAR::Packer. Now I want to reduce the size of exe. Can anyone suggest me how to do that? Thanks & Regards, Sanket Vaidya http://www.patni.com World-Wide Partnerships. World-Class Solutions. ___

Re: unix-like 'exec' in perl?

2008-08-24 Thread Jenda Krynicky
From: "Mark Henry" <[EMAIL PROTECTED]> > I want to be able to restart a script under certain conditions, and I was > thinking of how I would do this using exec in ksh. > > exec as I understand it is 'replace the current process with the specified > program', where in perl it seems to be 'run the s

unix-like 'exec' in perl?

2008-08-24 Thread Mark Henry
Hi All, I want to be able to restart a script under certain conditions, and I was thinking of how I would do this using exec in ksh. exec as I understand it is 'replace the current process with the specified program', where in perl it seems to be 'run the specified program but dont wait for it to