in reply to perl inline

Did you read the documentation? If not then please do so, it tries to answer your questions. If you have, then please try to clarify what you didn't understand about what it said. Otherwise I can do no better than combine regurgitating documentation with random guessing.