Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-11-26 13:43 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls