in reply to How to return the exit status thru perl script execution?

Have you looked at the documentation of the exit function? It does just that, allow you to pass a specific exit code. Another possibility would be to die in your program, but that will not allow you to specify a number and always exit with 255 (see die).

Replies are listed 'Best First'.
Re^2: How to return the exit status thru perl script execution?
by perlsen (Chaplain) on Feb 15, 2006 at 09:08 UTC
    Thanks Corion,
    I have resolved the problem.
    regards,
    Perlsen