in reply to Here documents in blocks
The book "Perl Best Practices" recommends factoring out such a heredoc into a subroutine. "The heredoc does compromise the indentation of the subroutine, but that's now a small and isolated section of the code..."
Bill
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Here documents in blocks
by eyepopslikeamosquito (Archbishop) on Dec 20, 2020 at 09:01 UTC | |
Re^2: Here documents in blocks
by Bod (Parson) on Dec 19, 2020 at 21:41 UTC | |
by Fletch (Bishop) on Dec 20, 2020 at 02:21 UTC |
In Section
Seekers of Perl Wisdom