in reply to Re^5: caller of perl script
in thread caller of perl script

No, I think you have confused $0, (dollar-zero) script name, with $^O, (dollar-caret-uppercase oh) operating system name.

Cheers,

JohnGG