Open plicease opened 10 years ago
Hi Graham,
Unfortunately I'm not a Solaris user, and only used it briefly when trying to establish the available tools for this distribution. I've found the following link, which lists some alternative commands, so will look to see if they are suitable:
https://community.oracle.com/thread/2164118
Thanks for highlighting the change.
Cheers, Barbie.
I think the main thing is not to spew warnings, either not call showrev on newer solaris, or to capture the stderr so that the user doesn't see it. The way the code is structured it calls a series of commands based on platform. To me getting the information using alternatives is a bonus. If I think of something more useful I will let you know.
@barbie @plicease Did we get anywhere on this? I may be porting this over to Node shortly.
I am by no means a solaris expert, but a little googling around seems to suggest that showrev is no longer part of Solaris as of Solaris 2.11 / SunOS 5.11.
This makes Devel::Platform::Info issue an error when doing its thing (see below).
I am actually using OpenIndiana, but I believe Solaris 2.11 works the same.