CC: | "Green, Paul" <Paul.Green [...] stratus.com> |
Subject: | Q re IPC::CMD and executable suffix |
Date: | Wed, 27 Mar 2013 14:52:00 -0400 |
To: | <bug-ipc-cmd [...] rt.cpan.org> |
From: | "Green, Paul" <Paul.Green [...] stratus.com> |
Gentle IPC::Cmd maintainer,
I maintain the port of Perl for the Stratus VOS/OpenVOS operating
system. This operating system requires that the name of any executable
file end with the suffix ".pm". (Not to be confused with the suffix for
perl modules).
To be guaranteed to finding a VOS executable program **in the file
system**, the .pm suffix must be specified. The suffix is NOT required
when simply typing in commands (although it can be supplied here, if one
wishes to do so).
In my experience, most perl code is written and tested in a Unix/Linux
environment and hence does not concern itself with executable suffixes.
Because the Windows environment has a similar requirement, some code has
been modified to deal with suffixes, but this is not universal.
I'm wondering whether or how IPC::Cmd should be modified to deal with
this issue for VOS. It is easy enough to special-case VOS; the $^O
variable will return 'vos' on our system. Have you run into this issue
before? How do you suggest I proceed?
Thanks
PG
--
Sr. Technical Consultant, Stratus Technologies Inc.
Office: +1-978-461-7557; Mobile: +1-978-235-2451; Twitter: @stratuspaulg