shelling out? - uname

Stray Taoist mwk at
Fri Dec 8 14:16:16 GMT 2006

On Fri, Dec 08, 2006 at 02:02:02PM -0000, Russ Hogge wrote:
> Greetings,
> 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.

Wouldn't $^O do it?


-- # Gotta have a weblog. It is the law. # All the cool kids have photostreams

More information about the mailing list