Checking the Platform in Perl
Hello all,
Is there a way using perl code to check what platform the script is
running on? I have a script that runs on both windows and unix
platforms and I want to check what platform the script is running on
because I will be executing different sections of the code depending
on the platform.
Thanks!
.
Relevant Pages
- Re: Is This a KDE/Gnome Group?
... GUI offers means to present information in various structured ways. ... I've never encountered that in a shell script, ... The devolper only needs hints about the places, where his code might use an platform specific API, so that he can provide workarounds for those platforms, which do not provide the required functionality. ... The more common libraries, the less library installations. ... (comp.os.linux.setup) - Re: Is there a strategy for multiplatform builds and distributions?
... >> The build processes work, but they are a nuisance to set up. ... > contains compiler flags etc specific to that system, and as the name of a ... > between platforms, I just rerun the configure script on the new platform ... (comp.lang.fortran) - Re: forth ideas affecting me at work lol
... a snotty and high brow breed shows his stripes, says to me, ... read from colorforth.com "no for the other platform I will ... make another script, and I find it safer to simply check by ... until you actually have a need to be cross-platform. ... (comp.lang.forth) - Re: forth ideas affecting me at work lol
... a snotty and high brow breed shows his stripes, says to me, ... it work cross platform so it can be used with the solaris ... read from colorforth.com "no for the other platform I will ... make another script, and I find it safer to simply check by ... (comp.lang.forth) - Re: Using more than one printer?
... > your version and you platform. ... > Pre-7 filemaker remembers the settings you made. ... > command enter the line Print Setup. ... Now perform your script ... (comp.databases.filemaker) |
|