in reply to Re: breaking long lines in my code
in thread breaking long lines in my code

I agree that concatenation is the best way to go (to handle scalars as well as prints, CGI.pm parameters, etc.). I found that, to get emacs to indent properly in circumstances like this, it worked best to surround the entire string in a NOP function call:

print nop("this is line 1, " . "this is line 2, " . "this is line 3");

In this case, nop() is as simple as it looks:

sub nop { return join("", @_) }

If anyone has a better way of handling the auto-indenting problem, I'm open to it.

- Richie