in reply to APPerl: "osname=cosmo" problem
Probably not appropriate for $work, but:
You can get some indication of the system from POSIX::uname(). The docs for this are hedged about with caveats, but if it returns something germaine you can in theory derive an appropriate value from this and assign it to $^O itself, which (believe it or not) can be modified. This modification must be done at compile time, before any of the affected modules are loaded.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: APPerl: "osname=cosmo" problem
by kcott (Archbishop) on Jun 08, 2023 at 16:23 UTC | |
by Bod (Parson) on Jun 08, 2023 at 21:37 UTC | |
Re^2: APPerl: "osname=cosmo" problem
by Anonymous Monk on Jun 30, 2024 at 03:33 UTC |