Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

What Perl version supports fork?

by Anonymous Monk
on Jun 19, 2000 at 04:02 UTC ( #18746=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I get the following message when I call fork in my code, The Unsupported function fork function is unimplemented at forktest.pl line 3. Can anyone help me in this? Following is my code,
sub test { unless(fork) { exec " " } } &test

Comment on What Perl version supports fork?
Download Code
Re: Need help in fork
by chromatic (Archbishop) on Jun 19, 2000 at 04:13 UTC
    Your version of Perl doesn't support the fork function. You can upgrade to Perl 5.6 and this may fix it, especially if you're on a Win32 platform.

    See ActiveState for Win32 binaries.

Re: Need help in fork
by Anonymous Monk on Jun 19, 2000 at 08:02 UTC
    It did work, I was using wrong version(it was 5.3). Thanks for the info

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://18746]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-10-22 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls