in reply to Plz suggest what is the problem in the following code?

In C the function main is special and it can only occur once in your program - the perl interpreter all ready has a main function so you cannot define another. What exactly are you trying to accomplish?

-derby

Update: having two mains is not an issue. Please see BrowserUk's response below.

  • Comment on Re: Plz suggest what is the problem in the following code?