in reply to Copy a closed drawing

welcome to the monastery and to the wonderful world of perl shamsharma

you posted this question on the wrong section: see PerlMonks for the Absolute Beginner for hints on how and where to post.

See also How (Not) To Ask A Question infact your question, is really against all rules of a good post: what "closed drawing" means? in which contest?

Then you will learn that more effort you put asking a good question, more useful answers will come. Mostly appreciated would be some code by your part, a Short, Self-Contained, Correct Example letting monks to spot where do you have problems and what your perl level is.

Being your first post a bit more of patience from our part is due, but show us more effort from your part too!

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.