in reply to Weird 5.8.8 Solaris <> bug

If that <> construct is not working, then don't use it. Don't use local, ARGV, $/, or slurping. Just open the file, read it line by line to create a string, close the file, and return the string. Maybe you consider that a "clumsy workaround", but there's nothing inelegant about working, portable, maintainable code.