in reply to how to recognize windows and linux os
Use the Config module. Sometimes $^O doesn't give you all the details:
C:\>perl -MConfig -e "print $Config{osname},\"\n\";" MSWin32
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to recognize windows and linux os
by Anonymous Monk on Jan 30, 2006 at 14:51 UTC | |
by glasswalk3r (Friar) on Jan 30, 2006 at 16:04 UTC |