why is the exit code 1 after i run a perl script. The script is running successfully
===

I have a question. When i try running my Perl scripts it executes successfully. Later i run this command "echo %errorlevel%" it gives me the output as 1. Could some-one share his knowledge on this. 
Thanks 