in reply to How can I check from wich OS the script is running?
From perldoc perlvar:
--$^O The name of the operating system under which this copy of Perl was built, as determined during the configuration process. The value is identical to "$Config{'osname'}". See also the Config manpage and the -V command-line switch documented in the perlrun manpage.
|
---|