Subject: | Switch and HereDocs |
Switch 2.09
RedHat 7.0 - 7.3
Perl 5.6.0 - 5.6.1
I have a strange error with heredocs in perl only when I use Switch. If the script gets large (500 lines or so), heredocs begin to add arbitrary spaces in the output. For example, HTML begins to get spaces where there shouldn't be any (and where there weren't any in the original source).
If stop 'use'ing switch and work with if-elsif-else instead, the extra spaces seem to go away.
Any ideas why this might be happenning?