in reply to Using map to Add a Line Breaks to a List

You're using the m// in scalar context, so it is returning true on success instead of your captured text (see perlop). Separate the two statements:
print map { m/(.+)/; $1 . "\n" } sort @array;
You could use a join in there, too.