This feels like quite a silly question, but does Perl on OpenVMS support
fork?
I'm trying to port a set of perl test harness's from NT/Unix to OpenVMS and
most things seem to be ok , file io, system  but not fork?

It seems to me , that I have missed something very basic in the
documentation.

I've tried this with the perl 5.05.3 from Compaq and I also have a 5.6.1
which I built from the perl.org release version and they both tell me that

The Unsupported function fork function is unimplemented at t2.pl line 9.

Sample code

        fork();


Error->The Unsupported function fork function is unimplemented at t2.pl
line 9.

$ perl "-V"
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=VMS, osvers=V7.2-1, archname=VMS_AXP
    uname='VMS YourHost V7.2'
    hint=none, useposix=false, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='CC/DECC', optimize='undef', gccversion=undef
    cppflags='undef'
    ccflags ='/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj
=.obj/List/Machine'
    stdchar='char', d_stdstdio=define, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=N, prototype=define
  Linker and Libraries:
    ld='Link', ldflags ='/NoTrace/Map/Full/Cross'
    libpth=/sys$share /sys$library
    libs=
    libc=(DECCRTL), so=exe, useshrplib=undef, libperl=undef
  Dynamic Linking:
    dlsrc=dl_vms.c, dlext=exe, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags='/Share'


Characteristics of this PERLSHR image:
  Compile-time options: DEBUGGING
  Built under VMS
  Compiled at Sep 29 2000 09:53:40
  %ENV:
    PERLSHR="PERL_ROOT:[000000]PERLSHR.EXE"
    PERL_ROOT="DKA0:[SYS0.SYSCOMMON.PERL5_005_03.]"
  @INC:
    perl_root:[lib.VMS_AXP.5_00503]
    perl_root:[lib]
    perl_root:[lib.site_perl.VMS_AXP]
    perl_root:[lib.site_perl]
    .

Regards
Tony O'Callaghan

Software Consultant
Storm Technology Ltd.
Phone: 091-509773
Fax: 091-509770
Mobile: 087-2227490
Email: [EMAIL PROTECTED]
http://www.storm.ie



Reply via email to