Subject: M-x man should know that "->" can't be part of a man page name

From: [email-masked]
Date: Wed, 15 May 2013 00:50:53 +0800

M-x man should know that "->" can't be part of a man page name.
(In fact "->" even displays as one character.) so M-x man should think
twice, and back off, so that when the cursor is upon the word UserAgent,
my $ua = LWP::UserAgent->new(...
and one types M-x man, instead of
Manual entry (default LWP::UserAgent-):
it should prompt with
Manual entry (default LWP::UserAgent):

Seen with
emacs-snapshot:
  Installed: 2:20130510-1
# su - nobody -c 'HOME=/tmp emacs /some/perl/file.pl'