home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!clsi!glenn
- From: glenn@clsi.COM (Glenn Boysko)
- Subject: Platform Information from Perl
- Message-ID: <GLENN.92Nov5103912@capella.clsi.COM>
- Sender: usenet@clsi.COM
- Organization: CAD Language Systems Inc.
- Distribution: comp.lang.perl
- Date: 5 Nov 92 10:39:12
- Lines: 21
-
-
- Hello All:
-
- Is there a _standard_ way that Perl can identify the platform that it is
- running on? I am looking for a way to consistently produce a short, unique
- identifier that indicates the platform (sun3, sun4, vax, etc.) that the script
- is running on. I can use this information to build pathnames, etc.
-
- I am aware that I can inspect the file system for the presence of certain
- files, but was wondering if Perl had anything builtin...
-
- Thanks,
- Glenn
- --
- ......................... * *
- ..=====.==....=====..===. | Glenn Boysko | "An eye for an eye,
- .======.==...===.....===. | CAD Language Systems, Inc | a tooth for a tooth,
- .==.....==....===....===. | | vote for me and
- .======.====....===..===. | glenn@clsi.COM OR | I'll set you free."
- ..=====.====.=====...===. | uunet!clsi!glenn | -- Daniel Ash
- ......................... * *
-