Thanks for your bug report and patch. However, the mangled NAME section has already been fixed in the current development version of Perl, along with a great many other improvements to File::Basename and its documentation.
The latest version can be found at the following URL: http://public.activestate.com/cgi-bin/perlbrowse?file=lib%2FFile%2FBasename.pm&rev=