[EMAIL PROTECTED] wrote:
I've been following this debate all week and noticed one thing missing...
No-one has mentioned that it's bad programming practice to rely on a sub
to modify an argument. If you want to modify a value, it should be
explicitly returned, viz.:
sub add_one {
my $in_var =
On Thu, 15 Dec 2005, Américo Albuquerque wrote:
> the spawn method does the fork. if it can't it return 0 and the server
> shutsdown. After about 20 successeful forks, I get "Resource temporarily
> unavailable" error. I've tried waitpid but it didn't work, after several
> forks I still get the same
Thank you all for your replies.
My problem isn't with the connection itself. I can connect without problems.
The problem is with the fork call. I did a little research and this seams
to only happen in windows.
Windows does not support fork, so perl uses threads instead, IThreads to be
more
[EMAIL PROTECTED] wrote:
ok. well i don't have formal reg exp training,. i've used an oreilly pres
book to teach myself and have been told by others that i seem really good
with them. considering what i've seen here, Brian Raven and Bill Luebkert
are both much better and also explain VERY well.
I guess the windows task scheduler is the best way to approach this for
my simple code. Thank you all for the guidance.
Manish
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, December 15, 2005 2:23 AM
To: Mittal, Manish
Hi Manish,
for clarification, Perl script along with Perl is a aplication - not a
service which is always running. There must be something else that will
wake and trick the script going. There is no point as KJW wrote try to
do it in perl. It could be done but it is an other story, a long one.
Tr