See the $^C variable in perlvar please.
In reply to Re: Detecting syntax check run by ambrus in thread [SOLVED] Detecting syntax check run by vsespb