$fname =~ s/^\s+(.+?)\W*$/$1/; #### $fname =~ s/^\s*(.+?)\W*$/$1/; #### Unrecognized escape \s passed through at phonelist.pl line 28.