Thank you for your comments! Definitely I was in stuck inventing the name for opening the new indentation. I knew that "new" was reserved for constructor but couldn't give the proper name for this method. Thanks choroba as well. He gave me hint regarding Indent::over/Indent::back pair. Those are the best.

Talking about lower case of the module name, I thought to use the module like a pragma: "use indent" to turn on new indentation and "no indent" to revert to previous indent level. I fastly recognized that there no ways for that and have left all my attempts in this direction. And the module name left without changes.

I am going to take into account all the feedbacks by holli and choroba. What is the best way -- a) update the OP with the proper remarks or b) reply with new updated post?

In reply to Re^2: Simple indentation. Does it need improvement? by siberia-man
in thread Simple indentation. Does it need improvement? by siberia-man

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.