in reply to Line breaks within backticks
As for keeping the structure intended properly, the spaces in front of the command usually provide no problem, as long as one argument fits on one line. Less nice is the fact that you have to use the END starting in column 1 (how I wished that Perl would have an option which would ignore the spaces in front of the terminating line). There is a workaround to this, but I consider it ugly:my $result=<<`END`; command arg1 arg2 END
my $result=<<` END`; # 4 spaces in front of the END command arg1 arg2 END
|
|---|