in reply to Re: a small doubt
in thread a small doubt

thanks , thats what i wanted to know

Replies are listed 'Best First'.
Re^3: a small doubt
by KILNA (Acolyte) on Nov 11, 2014 at 23:23 UTC

    Generally speaking, most built-in Perl functions return a value which indicates success, with a non-true value indicating failure (zero, empty string, or undef). Many user-written Perl functions follow the same convention.

    System commands in Unix, Windows, etc., will result in a numeric exit value indicating an error, with zero indicating no error.