An named array in scalar context is quite different from what would at first glance appear to be a list in scalar context. It would generate the scalar comma operator there, not the list construction version of the comma. That means it was never a list to start with. This is different from the C interfaces, which return -1 on failure. Other functions do not, except accidentally.
Some functions appear in more than one place.
Such bugs lie in the automatic translation process that automatically created the hundreds and hundreds of separate documents that you find here. Please do not report link or formatting bugs, because we cannot fix per-document problems. If rather than formatting bugs, you encounter substantive content errors in these documents, such as mistakes in the explanations or code, please use the perlbug utility included with the Perl distribution. Christiansen, Perl Documentation Compiler and Editor Return to the Perl Documentation Index . Return to the Perl Home Page .