Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
One way you can indent HEREDOCs is to substitute the leading spaces in a map.
This really is not a serious suggestion. It is rather horrible, probably inefficient and it would be a nightmare to maintain in a script. It would easily break if code is moved around and logical depth (thus indentation) changes or if you use an editor that decides off its own bat to use tabs instead of spaces when auto-indenting. I just post the code as a curio. Downvote if nauseated. Cheers, JohnGG In reply to Re^3: Simulate a head lice infection
by johngg
|
|