Spawn child processes - VMS perl 5.6.1

From: Patrick Flaherty (Patrick_member_at_newsguy.com)
Date: 03/31/04


Date: 30 Mar 2004 21:58:54 -0800

Hi,

I'm going through perlipc etc trying to refresh my memory as to how this
UNIX-style IPC stuff works.

Want to spawn several (say 5) child processes; then sit waiting in the parent;
get signals when they've finished; and if all is OK continue with the code in
the parent.

  However it seems that in VMS perl 5.6.1 I have no fork():

VMSNODE>perl -v

This is perl, v5.6.1 built for VMS_AXP

Copyright 1987-2001, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

VMSNODE>type test2.pl

fork();

VMSNODE>perl test2.pl
The Unsupported function fork function is unimplemented at test2.pl line 2.
%SYSTEM-F-ABORT, abort
VMSNODE>

  Is there any way, under these conditions, to get from here to there?

  pat



Relevant Pages

  • trying to understand fork and wait
    ... I would really appreciate some feedback on a Perl program I'm trying ... My plan is to have a single Perl script running while the ... I still do not understand how to use fork and wait ... } #end parent while loop ...
    (comp.lang.perl.misc)
  • RE: Fork - Process ID
    ... > Subject: Fork - Process ID ... > I have many cron jobs that run perl scripts. ... # standard-out with random messages. ...
    (perl.beginners)
  • Re: Wait for background processes to complete
    ... especially the ones about the Perl Documentation being ... There is no further reference to a "double fork" (except in the ... There is a general problem with perl documentation: ... and what the child should do depend on what you want them to do. ...
    (comp.lang.perl.misc)
  • Re: Perl Fork options
    ... The Perl use fork to do this. ... came from a shared memory machine where ther was plenty of memory each ...
    (comp.lang.perl.misc)
  • Re: what is the best choose fork or thread?
    ... Can the perl build-in function fork work in win32? ...
    (comp.lang.perl.misc)