in reply to Re: string manipulation question
in thread string manipulation question

for instance do the newlinine in the ref
my $str = <<FOO; a load of constant stuff...@{[ "optional bit in the middle " if defined $option ]}loads more stuff FOO