Do you know where your variables are? | |
PerlMonks |
Re: "Porting" scripts to Win32by Koosemose (Pilgrim) |
on Feb 21, 2004 at 01:24 UTC ( [id://330727]=note: print w/replies, xml ) | Need Help?? |
As far as determining OS goes, you will, of course have to use $^O, as meetraz mentions, but since there are signifigant differences between flavor's of Windows, as to where files of various sorts are stored, you will also need to Use Win32::GetOSName() or Win32::GetOSVersion(), as suggested by perldoc perlvar, under $^O, to determine your flavor of Windows.
In Section
Seekers of Perl Wisdom
|
|