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.
In reply to Re: Weird 5.8.8 Solaris <> bug
by gmargo
in thread Weird 5.8.8 Solaris <> bug
by peters
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |