From: Jan Dubois Date: Sat, 6 Mar 1999 21:42:56 +0000 (+0100) Subject: perldelta.pod changes for Win32::* functions X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8fe0a5c4e04be608dcf92965347231ca4e6d5db7;p=p5sagit%2Fp5-mst-13.2.git perldelta.pod changes for Win32::* functions Message-ID: <36e49281.50337171@smtp1.ibm.net> p4raw-id: //depot/perl@3133 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 2179676..215e68d 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -357,6 +357,28 @@ The timelocal() and timegm() functions used to silently return bogus results when the date exceeded the machine's integer range. They consistently croak() if the date falls in an unsupported range. +=item Win32 + +The error return value in list context has been changed for all functions +that return a list of values. Previously these functions returned a list +with a single element C in case an error occurred. Now these functions +return the empty list in these situations. This applies to the following +functions: + + Win32::FsType + Win32::GetOSVersion + +The remaining functions are unchanged and continue to return C on +error even in list context. + +The Win32::SetLastError(ERROR) function has been added as a complement +to the Win32::GetLastError() function. + +The new Win32::GetFullPathName(FILENAME) returns the full absolute +pathname for FILENAME in scalar context. In list context it returns +a two element list containing the fully qualified directory name and +the filename. + =back =head2 Pragmata