Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Here documents in blocksby Discipulus (Canon) |
on Dec 19, 2020 at 16:50 UTC ( [id://11125454]=note: print w/replies, xml ) | Need Help?? |
Hello Bod, if I understand your question, prior of perl 5.26 you can use some trick to indent heredocs: substitution (but the token in not indented):
But note you can also use " HEREDOC" as token: see (and follow the white rabbit) here L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|