Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Simple indentation. Does it need improvement?

by siberia-man (Friar)
on Dec 12, 2017 at 22:51 UTC ( [id://1205378]=note: print w/replies, xml ) Need Help??


in reply to Re: Simple indentation. Does it need improvement?
in thread Simple indentation. Does it need improvement?

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?
  • Comment on Re^2: Simple indentation. Does it need improvement?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205378]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 22:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found