shelling out? - uname
jacqui.caren at ntlworld.com
Fri Dec 8 19:05:34 GMT 2006
Russ Hogge wrote:
> Is there a good method of returning uname within perl. I need to test if
> my script is running on Linux or Solaris, and suspect that there is a
> module that would tell me this information is a sane manner.
> Clearly I could just type:
> chomp($platform = `/usr/bin/uname`);
> But this strikes me as poor.
osname osvers archname and uname
More information about the london.pm