|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Indented HEREDOC?by Withigo (Friar) |
| on May 26, 2006 at 03:03 UTC ( [id://551783]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Withigo has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, Several times I've found myself wishing I could indent the string that terminates a HEREDOC in order to align the entire HEREDOC with its containing sub/block(and also for nefarious-but-inspiring obfuscation & japh purposes). i.e., Is this trivial enough to be capable of being added to perl5? Hopefully it'll be an option in Perl 6. But in the mean time, does anyone know if there's a source filter that accomplishes this? Thanks!
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||||||