$^O is the name of the operating system, and what's wrong with it is documented in perlvar.
In reply to Re^6: caller of perl script by moritz in thread caller of perl script by red_draign