XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
To determine the user's OS, use the $^O variable.
You can still use $ENV{TEMP} for the temp directory on windows. If you want to avoid the registry, I would recommend using XML or INI files to store settings. You can use the Win32::GetFolderPath() function to obtain the proper locations to store the files. There are a number of traditional perl constructs that work poorly or not at all on Windows, especially the ancient Windows 98. The first things that come to mind are signals, forking, alarm, using binmode(), missing built-in commands and compilers, no make, different shell conventions, and more. You should probably read "perldoc perlwin32". In reply to Re: "Porting" scripts to Win32
by meetraz
|
|