in reply to How to get screenshort using PERL?

murugaperumal

You really need to define the question fully. Perl doesn't have to run on "a screen", so the question is incredibly ambiguous. There are many types of screens, so I couldn't help you even if I wanted to. (Are you running on an X11 terminal? How about Windows? What type of window? Perhaps a serial terminal? Not all of them have a method to save a screen. Perhaps you're running on a teletype? Just rip off the paper and tape it into your document. Maybe it's a web server program? Just provide the appropriate JavaScript to capture the screen and send it back.

If you're going to be a successful programmer, you need to learn to recognize the assumptions you're making. As well as understand the context in which your program runs, and the context in which your client(s) think so you can figure out what the assumptions are. If you can't do that, you need to spend some time practicing on it to be successful. To do so, you might go through all the nouns in your question, and think of their definition. Then think of any possible alternate definitions. When you find alternate definitions, it normally means that you haven't qualified your statement enough to remove the assumption(s). When you're talking with a client, keep in mind that they're normally not going to be a programmer. Each profession has its own terminology/jargon, and you have to verify that what the customer is saying means what you think it means. Frequently a client will use computer jargon incorrectly, and if you don't catch it, you won't be able to fulfill the requirements and waste your time, which will cost you money. Don't be afraid to rephrase statements with different jargon or different examples to verify that the statement means the same thing to both of you, after all, your client wants the correct result as much as you do, and will understand that a little bit of time spent clarifying things will pay off handsomely in the course of the project.

</pedantic_mode>

...roboticus