X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vms%2Fperlvms.pod;h=35776a49d4406046dc4931e79e66ace16cb5929c;hb=1b24ed4b35a915c6e59d3fc62a8dd13d3947354a;hp=080c03d335fdfe6bc937dbb566fcdf4a8dc87a79;hpb=9bc98430000a3b57b51afb7c5f241b547d6d6d1c;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vms/perlvms.pod b/vms/perlvms.pod index 080c03d..35776a4 100644 --- a/vms/perlvms.pod +++ b/vms/perlvms.pod @@ -194,7 +194,7 @@ so we can try to work around them. =head2 Wildcard expansion File specifications containing wildcards are allowed both on -the command line and within Perl globs (e.g. *.cE>). If +the command line and within Perl globs (e.g. C*.cE>). If the wildcard filespec uses VMS syntax, the resultant filespecs will follow VMS syntax; if a Unix-style filespec is passed in, Unix-style filespecs will be returned. @@ -244,11 +244,29 @@ directory specifications may use either VMS or Unix syntax. Perl for VMS supports redirection of input and output on the command line, using a subset of Bourne shell syntax: - reads stdin from F, - >F writes stdout to F, - >>F appends stdout to F, - 2>F writes stderr to F, and - 2>>F appends stderr to F. +=over + +=item * + +Cfile> reads stdin from C, + +=item * + +Cfile> writes stdout to C, + +=item * + +CEfile> appends stdout to C, + +=item * + +C<2Efile> writes stderr to C, and + +=item * + +C<2EEfile> appends stderr to C. + +=back In addition, output may be piped to a subprocess, using the character '|'. Anything after this character on the command @@ -326,18 +344,23 @@ The following functions were not implemented in the VMS port, and calling them produces a fatal error (usually) or undefined behavior (rarely, we hope): - chroot, dbmclose, dbmopen, fcntl, flock, + chroot, dbmclose, dbmopen, flock, getpgrp, getppid, getpriority, getgrent, getgrgid, getgrnam, setgrent, endgrent, ioctl, link, lstat, msgctl, msgget, msgsend, msgrcv, readlink, semctl, semget, semop, setpgrp, setpriority, shmctl, shmget, shmread, shmwrite, socketpair, symlink, syscall -The following functions are available on Perls compiled with Dec C 5.2 or -greater and running VMS 7.0 or greater +The following functions are available on Perls compiled with Dec C +5.2 or greater and running VMS 7.0 or greater: truncate +The following functions are available on Perls built on VMS 7.2 or +greater: + + fcntl (without locking) + The following functions may or may not be implemented, depending on what type of socket support you've built into your copy of Perl: @@ -604,7 +627,7 @@ or backticks. C will delete the highest version of a file only; in order to delete all versions, you need to say - 1 while (unlink LIST); + 1 while unlink LIST; You may need to make this change to scripts written for a Unix system which expect that after a call to C, @@ -647,14 +670,19 @@ time of the file (VMS revision date). If PID is a subprocess started by a piped C (see L), C will wait for that subprocess, and return its final -status value. If PID is a subprocess created in some other way -(e.g. SPAWNed before Perl was invoked), or is not a subprocess of -the current process, C will check once per second whether -the process has completed, and when it has, will return 0. (If PID -specifies a process that isn't a subprocess of the current process, -and you invoked Perl with the C<-w> switch, a warning will be issued.) - -The FLAGS argument is ignored in all cases. +status value in C<$?>. If PID is a subprocess created in some other +way (e.g. SPAWNed before Perl was invoked), or is not a subprocess +of the current process, C will attempt to read from the +process's termination mailbox, making the final status available in +C<$?> when the process completes. If the process specified by PID +has no termination mailbox, C will simply check once per +second whether the process has completed, and return when it has. +(If PID specifies a process that isn't a subprocess of the current +process, and you invoked Perl with the C<-w> switch, a warning will +be issued.) + +Returns PID on success, -1 on error. The FLAGS argument is ignored +in all cases. =back @@ -883,7 +911,7 @@ problems. =head1 Revision date -This document was last updated on 7-Aug-2001, for Perl 5, +This document was last updated on 2-Oct-2001, for Perl 5, patchlevel 8. =head1 AUTHOR