in reply to Error coming while using Use Strict
Back up and write in words what you are trying to do. "My program is running", no I do not think that is true at all.
Start with writing a couple of sentences about what you are trying to do.