|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: I want to get os all configurationby Old_Gray_Bear (Chancellor) |
| on Nov 17, 2012 at 21:22 UTC ( #1004353=note: print w/ replies, xml ) | Need Help?? |
|
If I understand you, what you are looking for is a combination of $^O and several CPAN modules. Once you have the operating system name in hand, you use the functions provided by packages in the $^O::Sysinfo or Win32::SystemInfo (in the case of Windows) name space to extract the information you want. Example:
---- OGB
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||