home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / apache / files / ActivePerl-5.6.1.638-MSWin32-x86.msi / _98b8bffbd1cc37b7f10e6be16df9d0cd < prev    next >
Encoding:
Text File  |  2004-04-13  |  14.9 KB  |  340 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>ActivePerl 5.6.1.638 -- Release Notes</TITLE>
  4. <LINK REL="stylesheet" HREF="Active.css" TYPE="text/css">
  5. <LINK REV="made" HREF="mailto:">
  6. </HEAD>
  7.  
  8. <BODY>
  9.  
  10. <A NAME="__index__"></A>
  11. <!-- INDEX BEGIN -->
  12.  
  13. <UL>
  14.  
  15.     <LI><A HREF="#activeperl 5.6.1.638  release notes">ActivePerl 5.6.1.638 - Release Notes</A></LI>
  16.     <LI><A HREF="#incompatibilities">Incompatibilities</A></LI>
  17.     <LI><A HREF="#known issues">Known Issues</A></LI>
  18.     <UL>
  19.  
  20.         <LI><A HREF="#all platforms">All Platforms</A></LI>
  21.         <LI><A HREF="#linux and solaris">Linux and Solaris</A></LI>
  22.         <LI><A HREF="#windows">Windows</A></LI>
  23.         <LI><A HREF="#further information">Further Information</A></LI>
  24.     </UL>
  25.  
  26.     <LI><A HREF="#reporting problems">Reporting Problems</A></LI>
  27. </UL>
  28. <!-- INDEX END -->
  29.  
  30. <HR>
  31. <P>
  32. <H1><A NAME="activeperl 5.6.1.638  release notes">ActivePerl 5.6.1.638 -- Release Notes</A></H1>
  33. <P>Welcome, and thanks for downloading ActivePerl.  This release corresponds
  34. to Perl version 5.6.1.</P>
  35. <P>Please note that ActivePerl 600 series builds are NOT binary-compatible with
  36. the older 500 series builds.  In particular, do not attempt to use extensions
  37. or PPM packages built for the 500 series builds with ActivePerl 600 series
  38. builds and vice versa.  This build is binary compatible with previous 600
  39. series builds.</P>
  40. <P>Binaries for the following platforms are available:</P>
  41. <UL>
  42. <LI>
  43. Linux x86 for Red Hat 6.2 or later
  44. <P></P>
  45. <LI>
  46. Linux x86 for Debian 2.2 or later
  47. <P></P>
  48. <LI>
  49. Solaris sparc for Solaris 2.6 or later
  50. <P></P>
  51. <LI>
  52. Windows x86 for Windows 9x, NT, Me, 2000, XP and 2003 Server
  53. <P></P></UL>
  54. <P>For a granular list of the changes included in this release, see
  55. the ActivePerl Change Log.</P>
  56. <P>
  57. <HR>
  58. <H1><A NAME="incompatibilities">Incompatibilities</A></H1>
  59. <P>The following list is a general summary of the known incompatibilities
  60. between the 5.6.1 source code release and earlier releases.  Be sure to
  61. consider these very carefully before upgrading.</P>
  62. <UL>
  63. <LI>
  64. Compatibility macros for global variables are not available by
  65. default, to control namespace pollution.  If older extensions don't
  66. build because of missing symbols, try ``perl Makefile.PL POLLUTE=1''
  67. first.
  68. <P></P>
  69. <LI>
  70. Subroutines named CHECK are considered special, and will be
  71. automatically executed when the compilation of the main program ends.
  72. Rename such functions to lower/mixed case.
  73. <P></P>
  74. <LI>
  75. $English::PERL_VERSION is now an alias for $^V (a string) rather
  76. than $] (a number).  You may need to use the ``%vd'' sprintf format
  77. to display this correctly.
  78. <P></P>
  79. <LI>
  80. Literals of the form 1.2.3 parse as <CODE>chr(1) . chr(2) . chr(3)</CODE>
  81. rather than as <CODE>"1.2" . 3</CODE>.
  82. <P></P>
  83. <LI>
  84. <CODE>rand()</CODE> may yield a different (but usually more random) sequence due
  85. to internal changes.
  86. <P></P>
  87. <LI>
  88. Iterating over hashes may yield a different order than before due
  89. to changes in the hashing function used.
  90. <P></P>
  91. <LI>
  92. The <CODE>undef</CODE> operator raises an exception when applied to read-only
  93. values.
  94. <P></P>
  95. <LI>
  96. The close-on-exec bit is now set on pipe and socket handles as well,
  97. if you set $^F high enough.
  98. <P></P>
  99. <LI>
  100. <CODE>"$$1"</CODE> always means <CODE>"${$1}"</CODE> now, rather than <CODE>$$ . "1"</CODE> (which
  101. was deprecated in 5.004).
  102. <P></P>
  103. <LI>
  104. delete(), each(), <CODE>values()</CODE> and \(%h) operate on aliases to values,
  105. instead of on copies.  You may need to copy the values explicitly
  106. where needed.
  107. <P></P>
  108. <LI>
  109. <CODE>vec()</CODE> will raise an exception if the BITS argument is not a
  110. power-of-two integer.
  111. <P></P>
  112. <LI>
  113. <CODE>not</CODE> followed by parentheses behaves like a list operator.  This
  114. allows <CODE>grep not($_), @things</CODE> to work as expected, but also changes
  115. <CODE>not (1,2,3)[0]</CODE> to mean <CODE>(not(1,2,3))[0]</CODE> instead of
  116. <CODE>not((1,2,3)[0])</CODE>.
  117. <P></P>
  118. <LI>
  119. The semantics of the bareword prototype (*) have changed to make it
  120. possible to pass barewords, as in many builtins.
  121. <P></P>
  122. <LI>
  123. Bitwise operators on 64-bit platforms operate on the entire native
  124. width rather than just the lower 32 bits.  (You must mask off the
  125. excess bits if you don't want them.)
  126. <P></P>
  127. <LI>
  128. More builtins taint their results due to higher security paranoia,
  129. when perl is running under taint mode (enabled via the -T switch).
  130. <P></P>
  131. <LI>
  132. If you have a perl installation older than 5.005, note that 5.6.1
  133. won't be binary compatible with it.  You will need to recompile
  134. all extensions when upgrading from installations older than 5.005.
  135. (This only applies when building from the source code--ActivePerl
  136. builds based on 5.6.1 are not binary compatible with builds based
  137. on 5.005 and earlier.)
  138. <P></P></UL>
  139. <P>
  140. <HR>
  141. <H1><A NAME="known issues">Known Issues</A></H1>
  142. <P>
  143. <H2><A NAME="all platforms">All Platforms</A></H2>
  144. <UL>
  145. <LI>
  146. A definitive summary of platform-independent changes and known issues in
  147. this release is available in <EM>perldelta</EM> and in the CHANGES log that
  148. comes with the ActivePerl distribution.
  149. <P></P>
  150. <LI>
  151. Unicode support still has various known bugs. Please refer to the 
  152. <EM>perlunicode</EM> documentation.
  153. <P></P></UL>
  154. <P>
  155. <H2><A NAME="linux and solaris">Linux and Solaris</A></H2>
  156. <UL>
  157. <LI>
  158. Some versions of tar on Solaris have bugs that prevent proper extraction
  159. of files in a package that has long path names.  Most other versions
  160. of tar on Solaris use a different method than GNU tar to encode pathnames
  161. longer than 100 characters.  GNU tar is therefore required to extract the
  162. package into the filesystem correctly.  A precompiled version of GNU tar
  163. for the sparc platform is available from:
  164. <PRE>
  165.     <A HREF="http://www.sunfreeware.com/">http://www.sunfreeware.com/</A></PRE>
  166. <P>You can also get the source package for GNU tar from:</P>
  167. <PRE>
  168.     <A HREF="http://www.gnu.org/">http://www.gnu.org/</A></PRE>
  169. <P></P>
  170. <LI>
  171. If you are upgrading from build 613, the default location for the
  172. ActivePerl installation when using the native installations on
  173. Unix (Red Hat RPM, Debian dpkg, or Solaris pkgadd) has changed.
  174. Build 613 and earlier installed ActivePerl at /usr/local/perl-5.6,
  175. whereas later builds are installed at /usr/local/ActivePerl-5.6.
  176. This one-time change avoids confusion with locally installed versions
  177. built from the sources, and also avoids installing on top of existing
  178. binary-incompatible installations.
  179. <P></P>
  180. <LI>
  181. This build is not binary compatible with build 613 and earlier.  If
  182. you installed any extensions containing XS code with build 613 or
  183. earlier builds (via PPM or otherwise), you will need to reinstall
  184. them again.
  185. <P></P>
  186. <LI>
  187. The suidperl executable is not included in this package due to potential
  188. security issues.  If you wish to use suidperl in your installation, we
  189. recommend building Perl from source.  The source code for ActivePerl is
  190. available at:
  191.     <A HREF="http://www.ActiveState.com">http://www.ActiveState.com</A>
  192. <P></P></UL>
  193. <P>
  194. <H2><A NAME="windows">Windows</A></H2>
  195. <UL>
  196. <LI>
  197. ActivePerl depends on MSVCRT.DLL being installed on the target system.
  198. This file ships with all versions of Windows except for Windows 95. 
  199. If you do not have this file installed on your system you may
  200. experience problems installing and/or running components within ActivePerl.
  201. <P>You can download a self extracting executable that contains MSVCRT.DLL
  202. from:</P>
  203. <PRE>
  204.     <A HREF="ftp://ftp.microsoft.com/softlib/mslfiles/msvcrt.exe">ftp://ftp.microsoft.com/softlib/mslfiles/msvcrt.exe</A></PRE>
  205. <P>Save the file in a temporary directory and double click on it to 
  206. extract the files. Follow the instructions in the ReadMe.txt file 
  207. contained in the package in order to install the missing file.</P>
  208. <P></P>
  209. <LI>
  210. The <CODE>fork()</CODE> emulation has known limitations.  See <EM>perlfork</EM> for a
  211. detailed summary.  In particular, <CODE>fork()</CODE> emulation will not work
  212. correctly with extensions that are either not thread-safe, or maintain
  213. internal state that cannot be cloned in the psuedo-child process.  This
  214. caveat currently applies to extensions such as Tk and Storable.
  215. <P></P>
  216. <LI>
  217. It seems that numerous people are being bitten by this error from the 
  218. ActivePerl MSI installer. The full text of the error message probably looks 
  219. something lke this:
  220. <PRE>
  221.     Installer Information
  222.     Internal Error 2744. PPM_CONFI, C:\perl\bin.
  223.     "C:\Perl\bin\wPerl.exe" "C:\Perlbin\configPPM.pl"
  224.     "C:\Perl\site\lib\ppm.xml" "D:\downloads\perl\\"
  225.     "C:\Perl\site\lib\ppm.xml~"</PRE>
  226. <P>The first thing to note is that you CANNOT install ActivePerl 5.6 over
  227. an older version of ActivePerl based on 5.005, such as build 522 or any 
  228. 500 series build.</P>
  229. <P>We have determined that one cause of this error message is due to other 
  230. installations of Perl that may be pointed at by something in the 
  231. environment.</P>
  232. <P><STRONG>Workaround</STRONG></P>
  233. <P>The sure-fire solution is to make absolutely certain that no other 
  234. installations of Perl are on the target machine. Realizing that this is not 
  235. always possible, you can follow these steps to ensure the other 
  236. installations will not interfere.</P>
  237. <P>1) Stop the ``Windows Installer'' service. This can be accomplished from the 
  238. command prompt using the following command:</P>
  239. <PRE>
  240.     c:\> net stop "Windows Installer"</PRE>
  241. <P>2) Temporarily remove or rename PERLLIB and PERL5LIB environment 
  242. variables in the system environment.</P>
  243. <P>3) Temporarily remove or rename the following registry values:</P>
  244. <PRE>
  245.     [\\HKEY_LOCAL_MACHINE\Software\Perl] lib = <directory> (REG_SV)
  246.     [\\HKEY_LOCAL_MACHINE\Software\Perl] sitelib = <directory> (REG_SV)
  247.     [\\HKEY_LOCAL_MACHINE\Software\Perl] lib-<PerlVersion> = <directory> (REG_SV)
  248.     [\\HKEY_LOCAL_MACHINE\Software\Perl] sitelib-<PerlVersion> = <directory>(REG_SV)</PRE>
  249. <P>4) Proceed with the installation.</P>
  250. <P>Once the installation has completed successfully, the above actions may be 
  251. undone although restoring the environment variables or the registry values 
  252. may interfere with the proper operation of your new ActivePerl 
  253. installation.</P>
  254. <P>In order to perform all of the above steps, you will need to have 
  255. Administrative privileges on the target machine. If you do not have the 
  256. required privileges you should contact you Administrator.</P>
  257. <P></P>
  258. <LI>
  259. Norton AntiVirus 2000 detects VBS.NewLove.A in the file ActivePerl-Winfaq12.html.
  260. <P><STRONG>Workaround</STRONG></P>
  261. <P>This is a false positive by Norton AntiVirus.  ActivePerl-Winfaq12.html has
  262. been examined by hand, and it is likely that the following example code is
  263. what causes the false report.</P>
  264. <PRE>
  265.     <BLOCKQUOTE>
  266.     <P><CODE>use strict;<BR>
  267.       use Win32::OLE;<BR>
  268.       use Win32::OLE::Const 'Microsoft Outlook';<BR>
  269.       <BR>
  270.       my $Outlook = Win32::OLE-&gt;new('Outlook.Application', 'Quit');<BR>
  271.       my $ol = Win32::OLE::Const-&gt;Load($Outlook);<BR>
  272.       <BR>
  273.       my $namespace = $Outlook-&gt;GetNamespace(&quot;MAPI&quot;);<BR>
  274.       my $Folder = $namespace-&gt;GetDefaultFolder(olFolderInbox);<BR>
  275.       my $NewFolder = $Folder-&gt;Folders-&gt;Add(&quot;Test1&quot;);</CODE></P>
  276.     </BLOCKQUOTE></PRE>
  277. <P>This can be tested by removing the above code from the ActivePerl-Winfaq12.html
  278. file and rescanning with Norton AntiVirus.  Norton AntiVirus will no longer
  279. detect VBS.NewLove.A.</P>
  280. <P>Symantec has been notified of this issue.</P>
  281. <P></P>
  282. <LI>
  283. The following Microsoft knowledge base articles may be helpful in solving MSI 
  284. problems:
  285. <P>Q236597 - OFF2000: Error Message: The Installation Package Could Not Be Opened ...
  286. <A HREF="http://support.microsoft.com/support/kb/articles/Q236/5/97.ASP">http://support.microsoft.com/support/kb/articles/Q236/5/97.ASP</A></P>
  287. <P>Q224094 - OFF2000: Error Message: This Application Requires the Windows Installer to Run
  288. <A HREF="http://support.microsoft.com/support/kb/articles/Q224/0/94.ASP">http://support.microsoft.com/support/kb/articles/Q224/0/94.ASP</A></P>
  289. <P>Q247532 - Works 2000 Err Msg: Installer Terminated Prematurely
  290. <A HREF="http://support.microsoft.com/support/kb/articles/Q247/5/32.ASP">http://support.microsoft.com/support/kb/articles/Q247/5/32.ASP</A></P>
  291. <P>``Error 1303. The installer has insufficient privileges...'' Running Office Setup 
  292. <A HREF="http://support.microsoft.com/support/kb/articles/Q228/6/58.ASP">http://support.microsoft.com/support/kb/articles/Q228/6/58.ASP</A></P>
  293. <P>Error Message: Error 1316 Running Setup for Admin Installation 
  294. <A HREF="http://support.microsoft.com/support/kb/articles/Q228/5/92.ASP">http://support.microsoft.com/support/kb/articles/Q228/5/92.ASP</A></P>
  295. <P>Error 1327 Invalid Drive During Office Installation 
  296. <A HREF="http://support.microsoft.com/support/kb/articles/Q217/6/66.ASP">http://support.microsoft.com/support/kb/articles/Q217/6/66.ASP</A></P>
  297. <P></P>
  298. <LI>
  299. On Windows 9x, the system must be rebooted for the PATH environment variable 
  300. to take effect.
  301. <P>On Windows 9x, the PATH environment variable settings are not removed after an
  302. uninstall.</P>
  303. <P></P></UL>
  304. <P>
  305. <H2><A NAME="further information">Further Information</A></H2>
  306. <P>The Perl distribution comes with extensive documentation.  On Unix platforms,
  307. all the standard documentation is installed as man pages under the Perl
  308. install location.  The location of the man pages may need to be added to the
  309. MANPATH environment variable in order to access them.  For example, in
  310. the C shell:</P>
  311. <PRE>
  312.     % setenv MANPATH /usr/local/ActivePerl-5.6/man:$MANPATH</PRE>
  313. <P>The documentation is installed in HTML format on all platforms. If ActivePerl
  314. was installed in /usr/local/ActivePerl-5.6 then the HTML documentation
  315. would be located in /usr/local/ActivePerl-5.6/html.</P>
  316. <P>On Windows, the standard documentation along with Windows-specific Perl
  317. documentation is installed in HTML format, and is accessible from the
  318. ``Start'' menu.</P>
  319. <P>Updated versions of the HTML documentation will always be available at
  320. the ActiveState website:</P>
  321. <PRE>
  322.     <A HREF="http://www.ActiveState.com/ActivePerl/">http://www.ActiveState.com/ActivePerl/</A></PRE>
  323. <P>
  324. <HR>
  325. <H1><A NAME="reporting problems">Reporting Problems</A></H1>
  326. <P>Please report any problems you encounter with this release at the
  327. following location:</P>
  328. <PRE>
  329.     <A HREF="http://bugs.ActiveState.com/ActivePerl/">http://bugs.ActiveState.com/ActivePerl/</A></PRE>
  330. <P>If you do not have web access, reports can be also sent via email to
  331. <A HREF="mailto:ActivePerl-Bugs@ActiveState.com.">ActivePerl-Bugs@ActiveState.com.</A>  Please be sure to include detailed
  332. information about the platform in your message.</P>
  333. <P>As far as possible, please ensure that there is enough information in
  334. the report to reproduce the bug elsewhere.  It also helps to submit a
  335. minimal test case that exhibits the bug.</P>
  336.  
  337. </BODY>
  338.  
  339. </HTML>
  340.