![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
sprintf problemby walkingthecow (Friar) |
on Aug 19, 2009 at 18:47 UTC ( [id://789918]=perlquestion: print w/replies, xml ) | Need Help?? |
walkingthecow has asked for the wisdom of the Perl Monks concerning the following question:
Hey monks, I am trying to write a simple script to clean the indents in my code. However, it does not seem to work (I believe there is something wrong with my sprintf statement). Basically, the code will indent each block 4 spaces. The code is below:
Here's the input:
And here's the output:
Back to
Seekers of Perl Wisdom
|
|