Well if you would like to print just the name of OS then Perl is built with a $^O variable that indicates the operating system.
#!/usr/bin/perlprint "$^O";
Moreover, If you are interested in more detail then try Config...
Well if you would like to print just the name of OS then Perl is built with a $^O variable that indicates the operating system.
#!/usr/bin/perlprint "$^O";
Moreover, If you are interested in more detail then try Config...
Hi All, Recently I started working on severs/clusters for my biological analysis. I am struggling to find the operating system(OS) detail information before running my scripts. Can you please tell me how to find OS name using perl script?