From: Gurusamy Sarathy Date: Wed, 22 Jul 1998 08:27:09 +0000 (+0000) Subject: VMS patches from Dan Sugalski X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3bf5f72bdd6c5887346607826f60a66570c79c4a;p=p5sagit%2Fp5-mst-13.2.git VMS patches from Dan Sugalski Date: Tue, 21 Jul 1998 16:04:40 PDT Message-Id: <3.0.5.32.19980721160440.00a916f0@ous.edu> Subject: [PATCH 5.004_76]Document Vax C's death for VMS -- Date: Tue, 21 Jul 1998 16:08:57 PDT Message-Id: <3.0.5.32.19980721160857.00a6d250@ous.edu> Subject: [PATCH 5.004_76]fix clean/realclean targets of VMS' makefile -- Date: Tue, 21 Jul 1998 16:05:56 PDT Message-Id: <3.0.5.32.19980721160556.00a1a100@ous.edu> Subject: [PATCH 5.004_76]Note the record-read capabilities of $/ in perldelta.pod p4raw-id: //depot/perl@1637 --- diff --git a/README.vms b/README.vms index dce2b8e..239142f 100644 --- a/README.vms +++ b/README.vms @@ -1,4 +1,4 @@ -Last Revised 02-June-1998 by Dan Sugalski +Last Revised 21-July-1998 by Dan Sugalski Originally by Charles Bailey * Important safety tip @@ -7,6 +7,15 @@ The build and install procedures have changed significantly from the 5.004 releases! Make sure you read the "Building Perl" and "Installing Perl" sections before you build or install. +Also note that, as of 5.005, an ANSI C compliant compiler is required to +build Perl. Vax C is *not* ANSI compliant, as it died a natural death some +time before the standard was set. Therefore Vax C will not compile perl +5.005. Sorry about that. + +If you're stuck without Dec C (the Vax C license should be good for Dec C, +but the media charges might prohibit an upgrade), consider getting Gnu C +instead. + * Intro The VMS port of Perl is as functionally complete as any other Perl port @@ -32,8 +41,7 @@ document. * Other required software In addition to VMS, you'll need: - 1) A C compiler. Dec C for AXP, or VAX C, Dec C, or gcc for the - VAX. + 1) A C compiler. Dec C for AXP, or Dec C, or gcc for the VAX. 2) A make tool. Dec's MMS (v2.6 or later), or MadGoat's free MMS analog MMK (available from ftp.madgoat.com/madgoat) both work just fine. Gnu Make might work, but it's been so long since @@ -57,14 +65,8 @@ questions, and the answers to them (along with the capabilities of your C compiler and network stack) will determine how perl's built. If you've got multiple C compilers installed, you'll have your choice of -which one to use. Using Dec C is recommended over Vax C--the compiler is -newer, and supported. (Vax C was decommisioned around 1993) Various older -versions had some gotchas, so if you're using a version older than 5.2, -check the Dec C Issues section. - -We'll also point out that Dec C will get you at least a ten-fold increase -in line-oriented IO over Vax C. The optimizer is amazingly better, too. If -you can use Dec C, then you *really*, *really* should. +which one to use. Various older versions of Dec C had some gotchas, so if +you're using a version older than 5.2, check the Dec C Issues section. The configuration script will print out, at the very end, the MMS or MMK command you need to compile perl. Issue it (exactly as printed) to start @@ -80,7 +82,7 @@ As a handy shortcut, the command: @CONFIGURE "-des" (note the quotes and case) will choose reasonable defaults. (It takes Dec C -over Vax C, Dec C sockets over SOCKETSHR sockets, and either over no sockets) +over Gnu C, Dec C sockets over SOCKETSHR sockets, and either over no sockets) * Testing Perl diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 659cb2f..0cbba50 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -295,6 +295,11 @@ magic lvalue too. For instance, this code now acts differently: In previous versions, this would print "hello", but it now prints "g'bye". +=head2 EE now reads in records + +If C<$/> is a referenence to an integer, or a scalar that holds an integer, +EE will read in records instead of lines. For more info, see +L. =head1 Supported Platforms diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template index b1ba0a0..8648b94 100644 --- a/vms/descrip_mms.template +++ b/vms/descrip_mms.template @@ -1519,9 +1519,6 @@ clean : tidy - $(MMS) clean Set Default [--] .endif - Set Default [.ext.re] - - $(MMS) clean - Set Default [--] Set Default [.ext.SDBM_File] - $(MMS) clean Set Default [--] @@ -1531,6 +1528,12 @@ clean : tidy Set Default [.vms.ext.DCLsym] - $(MMS) clean Set Default [---] + Set Default [.ext.re] + - $(MMS) clean + Set Default [--] + Set Default [.ext.dumper] + - $(MMS) clean + Set Default [--] - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;*/Exclude=PerlShr_*.Opt - If F$Search("[...]*$(O);*") .nes."" Then Delete/NoConfirm/Log [...]*$(O);* - If F$Search(F$Parse("Sys$Disk:[]","$(SOCKH)")).nes."" Then Delete/NoConfirm/Log $(SOCKH);* @@ -1551,7 +1554,7 @@ clean : tidy - If F$Search("[.VMS.Ext...]*$(O)").nes."" Then Delete/NoConfirm/Log [.VMS.Ext...]*$(O);* - If F$Search("[.pod]*.com").nes."" Then Delete/NoConfirm/Log [.pod]*.com;* -realclean : clean +realclean : tidy Set Default [.ext.Fcntl] - $(MMS) realclean Set Default [--] @@ -1580,9 +1583,6 @@ realclean : clean - $(MMS) realclean Set Default [--] .endif - Set Default [.ext.re] - - $(MMS) realclean - Set Default [--] Set Default [.ext.SDBM_File] - $(MMS) realclean Set Default [--] @@ -1592,6 +1592,12 @@ realclean : clean Set Default [.vms.ext.DCLsym] - $(MMS) realclean Set Default [---] + Set Default [.ext.dumper] + - $(MMS) realclean + Set Default [--] + Set Default [.ext.re] + - $(MMS) realclean + Set Default [--] - If F$Search("*$(OLB)").nes."" Then Delete/NoConfirm/Log *$(OLB);* - If F$Search("*.Opt").nes."" Then Delete/NoConfirm/Log *.Opt;* - If F$Search("Config.H").nes."" Then Delete/NoConfirm/Log Config.H;*