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?
Update: having two mains is not an issue. Please see BrowserUk's response below.
In reply to Re: Plz suggest what is the problem in the following code?
by derby
in thread Plz suggest what is the problem in the following code?
by sanjay nayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |