how to find status of last executed cmd in perl?

In shell we can find the status of last executed command by $?
In perl what is the command to find the status of last executed command...
Can any one please say???????????????

Thanks,
Prabhu

Actually, it's $? in Perl too (although Perl encodes it differently; see the description in the perlvar manual page).