On Sep 16, 9:40 am, Rakesh <rakeshbab...
> i have already given.
> Search for what $? means in perl.
I did a quick search for "perl" + "$?". The fourth hit on the page was
a doc-page titled "PERL - Special Variables" where you can see that $?
is documented as:
The status returned by the last pipe close, backtick(``) command or
system operator. Note that this is the status word returned by the wait
() system call, so the exit value of the subprocess is actually ($?
>>*). $? & 255 gives which signal, if any, the process died from, and
whether there was a core dump.
This took me less than 20 seconds.